From c3d673e5712b254ea6e3eef10041f3a30b70a983 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 7 Nov 2005 23:28:42 +0000 Subject: r11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138. Jeremy. (This used to be commit d398a1aeb48422a89cee59d5760a87bbb2d50b03) --- source3/nmbd/nmbd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3') 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 ); -- cgit