summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-11-01 17:41:16 +0000
committerVolker Lendecke <vlendec@samba.org>2003-11-01 17:41:16 +0000
commit13fe54264e360ef798d7afa0509259d0562bfc0e (patch)
tree88a2367e1c75ac6df91a102eec34aad06f19d90d /source3/nmbd
parent94713905d1109dad4e14af74d36de2560cb54ba7 (diff)
downloadsamba-13fe54264e360ef798d7afa0509259d0562bfc0e.tar.gz
samba-13fe54264e360ef798d7afa0509259d0562bfc0e.tar.bz2
samba-13fe54264e360ef798d7afa0509259d0562bfc0e.zip
This binds the nmbd sending socket to the 'socket address'.
Hmmm. This is correct in 2.2. Obviously I did not test my 3.0 checkin at that time. Now it hit me at a customer's site... Volker (This used to be commit a0e741aa684c756943969bdb4be20a02e588d27c)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 25ba07c8a7..36aa2e2485 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -570,8 +570,8 @@ static BOOL open_sockets(BOOL isdaemon, int port)
if ( isdaemon )
ClientNMB = open_socket_in(SOCK_DGRAM, port,
- interpret_addr(lp_socket_address()),
- 0,True);
+ 0, interpret_addr(lp_socket_address()),
+ True);
else
ClientNMB = 0;