summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-05-12 12:36:33 +0200
committerAndrew Tridgell <tridge@samba.org>2011-06-06 12:26:10 +1000
commit8f3ce14ea744d721636d3e096ae1f021aae042bd (patch)
tree6396fe152d179274a9bc6fec0e4ae1cf7e9bff97 /source4/rpc_server
parentdc8c8fd9e4f85974cd0665e613d4422ba8dd900e (diff)
downloadsamba-8f3ce14ea744d721636d3e096ae1f021aae042bd.tar.gz
samba-8f3ce14ea744d721636d3e096ae1f021aae042bd.tar.bz2
samba-8f3ce14ea744d721636d3e096ae1f021aae042bd.zip
s4-ipv6: use "ip" instead of "ipv4" for servers
this allows stream_setup_socket() to work with both v4 and v6 addresses
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index 762221dc5b..01ce989125 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -1648,7 +1648,7 @@ static NTSTATUS add_socket_rpc_tcp_iface(struct dcesrv_context *dce_ctx, struct
status = stream_setup_socket(dcesrv_sock, event_ctx, dce_ctx->lp_ctx,
model_ops, &dcesrv_stream_ops,
- "ipv4", address, &port,
+ "ip", address, &port,
lpcfg_socket_options(dce_ctx->lp_ctx),
dcesrv_sock);
if (!NT_STATUS_IS_OK(status)) {