the last WINS update broke self registration when we are a WINS
authorAndrew Tridgell <tridge@samba.org>
Tue, 9 Jul 2002 14:17:26 +0000 (14:17 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 9 Jul 2002 14:17:26 +0000 (14:17 +0000)
commit3e843d30158d05cdfba716bac7e5c0a75ae7a79c
tree74fb560499419fd83f36df6ef08cf1a0bdf17f4f
parent6e22f39df8c386781a4f51207a3ccd9c94d151f1
the last WINS update broke self registration when we are a WINS
server. The real problem is all the special cases we had for when we
are a wins server as opposed to when we are using a 'real' wins
server.

This patch removes the special cases. We now accept non-broadcast
packets from ourselves and we use ourselves as a wins server when we
are one. This gets rid of the special cases and simplifies things
quite a bit.

It all seems to work, but there are bound to be problems found later.
source/lib/wins_srv.c
source/nmbd/nmbd_packets.c