summaryrefslogtreecommitdiff
path: root/source/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
commit8c6fe8870a72271a6acd1633efc362c59e283e19 (patch)
treef565f3f9a32e12ba3e2d790ed185464026a51d9a /source/nmbd/nmbd_namelistdb.c
parent6d4d0dc7e65f946f09d127969ccbb4b51dfd6a4e (diff)
downloadsamba-8c6fe8870a72271a6acd1633efc362c59e283e19.tar.gz
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.
Diffstat (limited to 'source/nmbd/nmbd_namelistdb.c')
-rw-r--r--source/nmbd/nmbd_namelistdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_namelistdb.c b/source/nmbd/nmbd_namelistdb.c
index 07d026e051e..897505ca2be 100644
--- a/source/nmbd/nmbd_namelistdb.c
+++ b/source/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;