s3:nmbd: also listen explicit on the subnet broadcast addresses
commitfe629dbf1aab33f6e75c14b916684c9adeca017f
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Jan 2010 10:04:05 +0000 (28 11:04 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 11 Feb 2010 11:27:45 +0000 (11 12:27 +0100)
tree7bd989f6a064b870a15ba204fb95222c9faf7933
parent23116018779938f931394a022893f2a46654a697
s3:nmbd: also listen explicit on the subnet broadcast addresses

And send replies always via the unicast address of the subnet.

This behavior is off by default (as before)
and can be enabled with "nmbd:bind explicit broadcast = yes".

metze
(cherry picked from commit 30a1bc365071befd07e68e24ca4fa3843159ab13)
source3/include/nameserv.h
source3/libsmb/namequery.c
source3/libsmb/nmblib.c
source3/nmbd/nmbd.c
source3/nmbd/nmbd_packets.c
source3/nmbd/nmbd_subnetdb.c