Module Name: src
Committed By: roy
Date: Mon Oct 12 09:29:25 UTC 2015
Modified Files:
src/external/apache2/mDNSResponder/dist/mDNSPosix: mDNSPosix.c
Log Message:
A lack of useable addresses on any interfaces is not an error.
More interfaces and/or useable addresses could be added later.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c
diff -u src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c:1.8 src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c:1.9
--- src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c:1.8 Mon Oct 12 09:26:38 2015
+++ src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c Mon Oct 12 09:29:25 2015
@@ -921,7 +921,9 @@ mDNSlocal int SetupInterfaceList(mDNS *c
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 */