Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/apache2/mDNSResponder/dist/mDNSPosix A lack of usea...



details:   https://anonhg.NetBSD.org/src/rev/d59efad75e0b
branches:  trunk
changeset: 811085:d59efad75e0b
user:      roy <roy%NetBSD.org@localhost>
date:      Mon Oct 12 09:29:25 2015 +0000

description:
A lack of useable addresses on any interfaces is not an error.
More interfaces and/or useable addresses could be added later.

diffstat:

 external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 30da5a055a29 -r d59efad75e0b external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c
--- a/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c Mon Oct 12 09:28:15 2015 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c Mon Oct 12 09:29:25 2015 +0000
@@ -921,7 +921,9 @@
        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 */



Home | Main Index | Thread Index | Old Index