From 998c856d9005cd8e1111a939db6fa7b25196b766 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 8 Feb 2005 01:09:21 +0000 Subject: r5276: - added support for NBT_OPCODE_REFRESH2 (type 0x9) - when registering with a WINS server, initially use multi-homed registration, then switch to name refresh requests. Send refresh requests only to the WINS server that responded to our registration. If that server goes away, then start the registration from scratch. This makes registration more robust to WINS server failure. - send WINS registration requests out on our first interface rather than an unbound interface, to avoid the problem of WACK replies being sent to the wrong port (w2k3 WINS server does this) (This used to be commit f7712ac7468184c07b3e3c10cb7b847ad1791dd2) --- source4/nbt_server/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/nbt_server/query.c') diff --git a/source4/nbt_server/query.c b/source4/nbt_server/query.c index 28406081ea..2bcc2b1892 100644 --- a/source4/nbt_server/query.c +++ b/source4/nbt_server/query.c @@ -76,7 +76,7 @@ static void nbtd_name_query_reply(struct nbt_name_socket *nbtsock, } DEBUG(7,("Sending name query reply for %s<%02x> at %s to %s:%d\n", - name->name, name->type, src_address, addresses[0], src_port)); + name->name, name->type, addresses[0], src_address, src_port)); nbt_name_reply_send(nbtsock, src_address, src_port, packet); -- cgit