summaryrefslogtreecommitdiff
path: root/source4/lib/socket/socket_ipv4.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-28 02:37:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:52 -0500
commit75c29073ce12723598e4e204ccb616cd52fa2c13 (patch)
tree6940325b186d1cd2637320dfde5bdc5f080bc1fa /source4/lib/socket/socket_ipv4.c
parentc9d937b7ebd372a91cbd94130e5995c76e155a0a (diff)
downloadsamba-75c29073ce12723598e4e204ccb616cd52fa2c13.tar.gz
samba-75c29073ce12723598e4e204ccb616cd52fa2c13.tar.bz2
samba-75c29073ce12723598e4e204ccb616cd52fa2c13.zip
r9704: r9684@blu: tridge | 2005-08-27 19:38:31 +1000
don't try to call the name resolver on non-ipv4 names! (This used to be commit 4bb3d36fe6705bc625fe4122500f681ab7f2dc53)
Diffstat (limited to 'source4/lib/socket/socket_ipv4.c')
-rw-r--r--source4/lib/socket/socket_ipv4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/socket/socket_ipv4.c b/source4/lib/socket/socket_ipv4.c
index 0fc65698c4..9c393a77ec 100644
--- a/source4/lib/socket/socket_ipv4.c
+++ b/source4/lib/socket/socket_ipv4.c
@@ -46,6 +46,8 @@ static NTSTATUS ipv4_init(struct socket_context *sock)
return map_nt_error_from_unix(errno);
}
+ sock->backend_name = "ipv4";
+
return NT_STATUS_OK;
}