summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-22 10:52:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:25 -0500
commit8debe5a6b88c9625826e191b04244ae3e4b42590 (patch)
treef7a9bf2a71e2217ca3052a048f2c5cdf67168885 /source4/rpc_server
parent020b38656016d3adeeaa9b09d41ea0c29f686ed4 (diff)
downloadsamba-8debe5a6b88c9625826e191b04244ae3e4b42590.tar.gz
samba-8debe5a6b88c9625826e191b04244ae3e4b42590.tar.bz2
samba-8debe5a6b88c9625826e191b04244ae3e4b42590.zip
r3136: - Allow specifying socket type when adding smbd service
- Make sure a epm_tower struct is completely initialized - Some more minor fixes (This used to be commit d560dcbdb85cb2c6915bdb9e2f82f1872b0f5a52)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_tcp.c b/source4/rpc_server/dcerpc_tcp.c
index de8b5bc069..adfddae14f 100644
--- a/source4/rpc_server/dcerpc_tcp.c
+++ b/source4/rpc_server/dcerpc_tcp.c
@@ -70,7 +70,7 @@ static void add_socket_rpc(struct server_service *service,
if (e->ep_description.options && e->ep_description.options[0])
port = atoi(e->ep_description.options[0]);
- sock = service_setup_socket(service,model_ops, ip_str, &port);
+ sock = service_setup_socket(service,model_ops, "ipv4", ip_str, &port);
if (!sock) {
DEBUG(0,("service_setup_socket(port=%u) failed\n",port));
continue;