diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-06-03 17:57:57 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-06-06 12:26:10 +1000 |
commit | 0b11061b05cf6fdda8bf8a9be1a8da5b0cac1707 (patch) | |
tree | 6fdf75bc44751d88a744632ab68cf1ef93e523e1 /source4 | |
parent | be91effc20b6454f2b71aaadff3ff02378df164f (diff) | |
download | samba-0b11061b05cf6fdda8bf8a9be1a8da5b0cac1707.tar.gz samba-0b11061b05cf6fdda8bf8a9be1a8da5b0cac1707.tar.bz2 samba-0b11061b05cf6fdda8bf8a9be1a8da5b0cac1707.zip |
s4-ipv6: fixed binding to ipv4 addresses
Diffstat (limited to 'source4')
-rw-r--r-- | source4/smbd/service_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/service_stream.c b/source4/smbd/service_stream.c index cb084a0039..efbcfb490a 100644 --- a/source4/smbd/service_stream.c +++ b/source4/smbd/service_stream.c @@ -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); } |