summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-11-07 23:28:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:20 -0500
commitc3d673e5712b254ea6e3eef10041f3a30b70a983 (patch)
treee671b5b6bb8f25a37b97b882c03bcc87d5dd12f6
parent90230ac96279b468dc7163025c11970632d8b33e (diff)
downloadsamba-c3d673e5712b254ea6e3eef10041f3a30b70a983.tar.gz
samba-c3d673e5712b254ea6e3eef10041f3a30b70a983.tar.bz2
samba-c3d673e5712b254ea6e3eef10041f3a30b70a983.zip
r11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138.
Jeremy. (This used to be commit d398a1aeb48422a89cee59d5760a87bbb2d50b03)
-rw-r--r--source3/nmbd/nmbd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 282857ef98..01fdb8e74c 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -632,7 +632,9 @@ static BOOL open_sockets(BOOL isdaemon, int port)
else
ClientNMB = 0;
- ClientDGRAM = open_socket_in(SOCK_DGRAM,DGRAM_PORT,3,0,True);
+ ClientDGRAM = open_socket_in(SOCK_DGRAM, DGRAM_PORT,
+ 3, interpret_addr(lp_socket_address()),
+ True);
if ( ClientNMB == -1 )
return( False );