mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
As nobody really objected to this patch, I opted to create facts :-)
This uses 'socket address' as the source address for nmbd. This way we can again synchronize with the DMB if we have 'bind interfaces only' to a virtual interface. I'd love to see this in 2.2.9, but that is up to jerry or jra. Volker
This commit is contained in:
parent
759ba40b12
commit
fe637c690b
@ -547,7 +547,9 @@ static BOOL open_sockets(BOOL isdaemon, int port)
|
||||
*/
|
||||
|
||||
if ( isdaemon )
|
||||
ClientNMB = open_socket_in(SOCK_DGRAM, port,0,0,True);
|
||||
ClientNMB = open_socket_in(SOCK_DGRAM, port,
|
||||
interpret_addr(lp_socket_address()),
|
||||
0,True);
|
||||
else
|
||||
ClientNMB = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user