summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-03-13 19:05:51 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-03-13 19:05:51 +0000
commit68068dbafc88ab298c449bd5e9e015b959945996 (patch)
treecb37d8e08e1c96830281e83795b0dfffe52c6d0f
parent5f178fc18ac07eeeb579a23c6cbf8519ce44b60b (diff)
downloadsamba-68068dbafc88ab298c449bd5e9e015b959945996.tar.gz
samba-68068dbafc88ab298c449bd5e9e015b959945996.tar.bz2
samba-68068dbafc88ab298c449bd5e9e015b959945996.zip
added jeremy's patch to return Node Status info type in a Node Status
response, instead of always Name Query. oops. lkcl (This used to be commit 85a61bfb0e67dc995c4d0a65bab162a2129385fa)
-rw-r--r--source3/namepacket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/namepacket.c b/source3/namepacket.c
index e31d423784..043e2c02f0 100644
--- a/source3/namepacket.c
+++ b/source3/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 ||