Fixed bug that John found in WINS server code. When nmbd as a WINS
authorJeremy Allison <jra@samba.org>
Mon, 20 Apr 1998 20:32:50 +0000 (20:32 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 20 Apr 1998 20:32:50 +0000 (20:32 +0000)
commitc5ca05c29546053a771f4ea3ef850efb3be970ea
tree98fa23b19d2f4132e39f7a888f0a786f14ef1b9c
parentc9f61be08f3691a6421734d8b026a295d9cbd6ba
Fixed bug that John found in WINS server code. When nmbd as a WINS
server is sending out a name_query after a WACK, it needs to send
a packet with recursion_desired = 0 (yes Luke, you were right all
along :-). If it doesn't then if it's talking to itself then the
query packet ends up back in the WINS server instead of in the client
side code.
Makefile: Changed proto generation to stop including NMBDOBJ twice.
nmbd_namequery.c nmbd_packets.c nmbd_winsserver.c: Added extra
query_name_from_wins_server() code.

Jeremy.
source/include/proto.h
source/nmbd/nmbd_namequery.c
source/nmbd/nmbd_packets.c
source/nmbd/nmbd_winsserver.c