diff options
Diffstat (limited to 'source3/utils/netlookup.c')
-rw-r--r-- | source3/utils/netlookup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/netlookup.c b/source3/utils/netlookup.c index 58c0f01019..998e77c68e 100644 --- a/source3/utils/netlookup.c +++ b/source3/utils/netlookup.c @@ -56,8 +56,9 @@ static int cs_destructor(struct con_struct *p) static struct con_struct *create_cs(TALLOC_CTX *ctx, NTSTATUS *perr) { NTSTATUS nt_status; - struct in_addr loopback_ip = *interpret_addr2("127.0.0.1"); + struct in_addr loopback_ip; + loopback_ip.s_addr = htonl(INADDR_LOOPBACK); *perr = NT_STATUS_OK; if (cs) { |