summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_namelistdb.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-06-08 19:09:47 +0000
committerJeremy Allison <jra@samba.org>1998-06-08 19:09:47 +0000
commit072504985973be17f64a23aaaa99a8d3ef5b2ea6 (patch)
tree2ae45a9295de68a868e6f29b38c0d1cadc7edb3c /source3/nmbd/nmbd_namelistdb.c
parent1c185427fa1cd5fa54ce7781bb57ff1df3c99de4 (diff)
downloadsamba-072504985973be17f64a23aaaa99a8d3ef5b2ea6.tar.gz
samba-072504985973be17f64a23aaaa99a8d3ef5b2ea6.tar.bz2
samba-072504985973be17f64a23aaaa99a8d3ef5b2ea6.zip
Added code to add the Samba names onto the remote_broadcast subnet,
as NT 4.x does directed broadcast node status requests for the *<0x0> name. Jeremy. (This used to be commit 8c6fe8870a72271a6acd1633efc362c59e283e19)
Diffstat (limited to 'source3/nmbd/nmbd_namelistdb.c')
-rw-r--r--source3/nmbd/nmbd_namelistdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_namelistdb.c b/source3/nmbd/nmbd_namelistdb.c
index 07d026e051..897505ca2b 100644
--- a/source3/nmbd/nmbd_namelistdb.c
+++ b/source3/nmbd/nmbd_namelistdb.c
@@ -445,7 +445,8 @@ void add_samba_names_to_subnet(struct subnet_record *subrec)
/* These names are added permanently (ttl of zero) and will NOT be
refreshed. */
- if((subrec == unicast_subnet) || (subrec == wins_server_subnet))
+ if((subrec == unicast_subnet) || (subrec == wins_server_subnet) ||
+ (subrec == remote_broadcast_subnet) )
{
struct subnet_record *bcast_subrecs;
int i;