A lack of useable addresses on any interfaces is not an error.

More interfaces and/or useable addresses could be added later.
This commit is contained in:
roy 2015-10-12 09:29:25 +00:00
parent 83969876a9
commit fd7491b1b7

View File

@ -921,7 +921,9 @@ mDNSlocal int SetupInterfaceList(mDNS *const m)
assert(m != NULL);
debugf("SetupInterfaceList");
if (intfList == NULL) err = ENOENT;
/* More interfaces, or usableable addresses to existing interfaces
* could be added later. */
if (intfList == NULL) return 0;
#if HAVE_IPV6
if (err == 0) /* Link the IPv6 list to the end of the IPv4 list */