r5171: added support for "bind interfaces only" in nbtd. The solution was to
commitb3edf17281c5d82abb40dab817bf2de43f9f6c3f
authorAndrew Tridgell <tridge@samba.org>
Wed, 2 Feb 2005 10:29:50 +0000 (2 10:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:28 +0000 (10 13:09 -0500)
tree1bc0f17f77d306043ca7307e14e1a02d0dd06523
parent2eefe4f8dea4a9060f229417777435133c684a0c
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.
source/nbt_server/interfaces.c
source/nbt_server/nbt_server.c
source/nbt_server/nodestatus.c
source/nbt_server/query.c
source/nbt_server/register.c