diff options
author | Jeremy Allison <jra@samba.org> | 2005-11-07 23:28:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:20 -0500 |
commit | c3d673e5712b254ea6e3eef10041f3a30b70a983 (patch) | |
tree | e671b5b6bb8f25a37b97b882c03bcc87d5dd12f6 /source3 | |
parent | 90230ac96279b468dc7163025c11970632d8b33e (diff) | |
download | samba-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)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nmbd/nmbd.c | 4 |
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 ); |