diff --git a/src/switch_utils.c b/src/switch_utils.c index a5c4b8f2f7..da0373098d 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -1560,10 +1560,6 @@ SWITCH_DECLARE(switch_status_t) switch_find_local_ip(char *buf, int len, int *ma goto doh; } - if (iface_out.sin6_addr.s6_addr == 0) { - goto doh; - } - inet_ntop(AF_INET6, (const void *) &iface_out.sin6_addr, buf, len - 1); status = SWITCH_STATUS_SUCCESS; }