diff options
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r-- | source3/lib/util_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index bf02e40520..33c6e91709 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -1034,7 +1034,7 @@ char *get_socket_name(int fd) fstrcpy(addr_buf, p); - if (inet_aton(p, &addr) == 0) return name_buf; + addr = *interpret_addr2(p); /* Look up the remote host name. */ if ((hp = gethostbyaddr((char *)&addr.s_addr, sizeof(addr.s_addr), AF_INET)) == 0) { |