summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_become_lmb.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-02-24 20:05:39 +0000
committerJeremy Allison <jra@samba.org>1998-02-24 20:05:39 +0000
commit4680e65bb5a6da5131135a155573e1d2592ed1b0 (patch)
tree7e9243354a37bfc231bf329e7dc0a501b8f20926 /source3/nmbd/nmbd_become_lmb.c
parentcadfca4cf58003518e9afef55b9a36c33f044b3c (diff)
downloadsamba-4680e65bb5a6da5131135a155573e1d2592ed1b0.tar.gz
samba-4680e65bb5a6da5131135a155573e1d2592ed1b0.tar.bz2
samba-4680e65bb5a6da5131135a155573e1d2592ed1b0.zip
Fixed bug reported by Janne.Harju@nmp.nokia.com. When used in broadcast
only mode nmbd was not reporting WORKGROUP<0> and WORKGROUP<1e> names to a unicast node status query (although it was registering these names on the network). Also tidied up code in nmbd_mynames.c so that all known IP addresses are registered in the unicast subnet in this case rather than just the first, as was previously done. Jeremy. (This used to be commit eb71c5edcbb983ed4a1b0f57139bd66b671c67fa)
Diffstat (limited to 'source3/nmbd/nmbd_become_lmb.c')
-rw-r--r--source3/nmbd/nmbd_become_lmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_become_lmb.c b/source3/nmbd/nmbd_become_lmb.c
index 2420b2ec4b..b58244104d 100644
--- a/source3/nmbd/nmbd_become_lmb.c
+++ b/source3/nmbd/nmbd_become_lmb.c
@@ -35,7 +35,7 @@ extern uint16 samba_nb_type; /* Samba's NetBIOS name type. */
our IP address if it already exists.
******************************************************************/
-static void insert_permanent_name_into_unicast( struct subnet_record *subrec,
+void insert_permanent_name_into_unicast( struct subnet_record *subrec,
struct nmb_name *nmbname, uint16 nb_type )
{
struct name_record *namerec;