summaryrefslogtreecommitdiffstats
path: root/source/nmbd/nmbd.c
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
commita0e741aa684c756943969bdb4be20a02e588d27c (patch)
treeb1a402e45e826059b3393751fc6ad490ec0e592e /source/nmbd/nmbd.c
parentca18ec0f901330c14a68c8a44d2a88a42bb7d92c (diff)
downloadsamba-a0e741aa684c756943969bdb4be20a02e588d27c.tar.gz
samba-a0e741aa684c756943969bdb4be20a02e588d27c.tar.xz
samba-a0e741aa684c756943969bdb4be20a02e588d27c.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
Diffstat (limited to 'source/nmbd/nmbd.c')
-rw-r--r--source/nmbd/nmbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c
index 25ba07c8a7a..36aa2e24856 100644
--- a/source/nmbd/nmbd.c
+++ b/source/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;