git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d51899
)
added jeremy's patch to return Node Status info type in a Node Status
author
Samba Release Account
<samba-bugs@samba.org>
Thu, 13 Mar 1997 19:05:51 +0000
(19:05 +0000)
committer
Samba Release Account
<samba-bugs@samba.org>
Thu, 13 Mar 1997 19:05:51 +0000
(19:05 +0000)
response, instead of always Name Query.
oops.
lkcl
source/namepacket.c
patch
|
blob
|
history
diff --git
a/source/namepacket.c
b/source/namepacket.c
index e31d4237840e9ec0470dc0a792725457d43b9b83..043e2c02f0fdd3b5c5766fc2284ca47771434b47 100644
(file)
--- a/
source/namepacket.c
+++ b/
source/namepacket.c
@@
-141,7
+141,7
@@
void initiate_netbios_packet(uint16 *id,
make_nmb_name(&nmb->question.question_name,name,name_type,scope);
- nmb->question.question_type = 0x20;
+ nmb->question.question_type =
quest_type == NMB_STATUS ? 0x21 :
0x20;
nmb->question.question_class = 0x1;
if (quest_type == NMB_REG ||