mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
damn, the test was the wrong way around for short_resuest
This commit is contained in:
parent
676db02f1c
commit
1ac46c4011
@ -122,7 +122,7 @@ logons are not enabled.\n", inet_ntoa(p->ip) ));
|
|||||||
packet ends here. For a W9X request we now end with a pair of
|
packet ends here. For a W9X request we now end with a pair of
|
||||||
bytes (usually 0xFE 0xFF) whereas with NT we have two further
|
bytes (usually 0xFE 0xFF) whereas with NT we have two further
|
||||||
strings - the following is a simple way of detecting this */
|
strings - the following is a simple way of detecting this */
|
||||||
if (len - PTR_DIFF(unicomp, buf) > 3) {
|
if (len - PTR_DIFF(unicomp, buf) <= 3) {
|
||||||
short_request = True;
|
short_request = True;
|
||||||
} else {
|
} else {
|
||||||
/* A full length (NT style) request */
|
/* A full length (NT style) request */
|
||||||
|
Loading…
Reference in New Issue
Block a user