r5276: - added support for NBT_OPCODE_REFRESH2 (type 0x9)
authorAndrew Tridgell <tridge@samba.org>
Tue, 8 Feb 2005 01:09:21 +0000 (01:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:36 +0000 (13:09 -0500)
commitf7712ac7468184c07b3e3c10cb7b847ad1791dd2
tree24c76b5840347e14d3a9862fa1a60889d9b193f4
parent2502b02898407e3262c09a5a4aa573c5f87b8f5f
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)
source/nbt_server/interfaces.c
source/nbt_server/packet.c
source/nbt_server/query.c
source/nbt_server/register.c
source/nbt_server/winsclient.c