mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s4-ipv6: fixed binding to ipv4 addresses
This commit is contained in:
parent
be91effc20
commit
0b11061b05
@ -296,7 +296,7 @@ NTSTATUS stream_setup_socket(TALLOC_CTX *mem_ctx,
|
||||
/* this is for non-IP sockets, eg. unix domain sockets */
|
||||
socket_address = socket_address_from_strings(stream_socket,
|
||||
stream_socket->sock->backend_name,
|
||||
sock_addr, 0);
|
||||
sock_addr, port?*port:0);
|
||||
NT_STATUS_HAVE_NO_MEMORY(socket_address);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user