From 3_0:
authorVolker Lendecke <vlendec@samba.org>
Sat, 1 Nov 2003 17:42:44 +0000 (17:42 +0000)
committerVolker Lendecke <vlendec@samba.org>
Sat, 1 Nov 2003 17:42:44 +0000 (17:42 +0000)
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

source/nmbd/nmbd.c

index 25ba07c8a7ad5a4cfc3c372521f6496dfecab479..36aa2e2485662e07fc7547aba82239110eaacd3d 100644 (file)
@@ -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;