summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-11-01 17:42:44 +0000
committerVolker Lendecke <vlendec@samba.org>2003-11-01 17:42:44 +0000
commite45d0f8f466d8abce68517f575ae47893eb7f713 (patch)
tree90707716ea93013c8a2909f8d423c87feabad80c /source3/nmbd
parentf943812aae03825c63653ae8885589ac29f900fb (diff)
downloadsamba-e45d0f8f466d8abce68517f575ae47893eb7f713.tar.gz
samba-e45d0f8f466d8abce68517f575ae47893eb7f713.tar.bz2
samba-e45d0f8f466d8abce68517f575ae47893eb7f713.zip
From 3_0:
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 b9179aed4d7e8ec95e0f8ff79e36403377773f0a)
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;