summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2018-03-17 14:07:37 -0400
committerSimo Sorce <idra@samba.org>2018-03-19 15:34:32 +0100
commit3e8c50901c982aaddd86f81328a89e16f1bb5289 (patch)
tree062e95a21bdf7048400314af1513b4b5d7b35038 /source3/rpc_client
parentf092ac5b6ebbe3a717498fea08d8f4503e3259dc (diff)
downloadsamba-3e8c50901c982aaddd86f81328a89e16f1bb5289.tar.gz
Use "localhost" to be ipv6 only friendly
Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_winreg_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_winreg_int.c b/source3/rpc_client/cli_winreg_int.c
index 3ac8380bf7c..3e242dd742f 100644
--- a/source3/rpc_client/cli_winreg_int.c
+++ b/source3/rpc_client/cli_winreg_int.c
@@ -105,7 +105,7 @@ static NTSTATUS _winreg_int_openkey(TALLOC_CTX *mem_ctx,
rc = tsocket_address_inet_from_strings(mem_ctx,
"ip",
- "127.0.0.1",
+ "localhost",
0,
&local);
if (rc < 0) {