summaryrefslogtreecommitdiffstats
path: root/source/namepacket.c
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
commit85a61bfb0e67dc995c4d0a65bab162a2129385fa (patch)
treefcff0e3244990fe988fac18b5c1665e1308f697e /source/namepacket.c
parent0d51899b59204b99d5aeb9542c8adfff42167fec (diff)
downloadsamba-85a61bfb0e67dc995c4d0a65bab162a2129385fa.tar.gz
samba-85a61bfb0e67dc995c4d0a65bab162a2129385fa.tar.xz
samba-85a61bfb0e67dc995c4d0a65bab162a2129385fa.zip
added jeremy's patch to return Node Status info type in a Node Status
response, instead of always Name Query. oops. lkcl
Diffstat (limited to 'source/namepacket.c')
-rw-r--r--source/namepacket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/namepacket.c b/source/namepacket.c
index e31d4237840..043e2c02f0f 100644
--- 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 ||