r5171: added support for "bind interfaces only" in nbtd. The solution was to
authorAndrew Tridgell <tridge@samba.org>
Wed, 2 Feb 2005 10:29:50 +0000 (10:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:28 +0000 (13:09 -0500)
commit77cdd7c0ff182f77b1edb032f8d8cd172bdff7ce
tree45672dee8ae3b030d2e0fada04b9da3d8ae06b3b
parent96f02f7403a94e0b674e57cfd50f91cf763c7c5c
r5171: added support for "bind interfaces only" in nbtd. The solution was to
bind twice on each interface, once using the broadcast address and
once using the specific IP. We then only listen on the wildcard
address if we don't have "bind interface only" set. This also happens
to simplify the code that finds the right interface for an incoming
request.
(This used to be commit b3edf17281c5d82abb40dab817bf2de43f9f6c3f)
source4/nbt_server/interfaces.c
source4/nbt_server/nbt_server.c
source4/nbt_server/nodestatus.c
source4/nbt_server/query.c
source4/nbt_server/register.c