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 Ignore loopbac...
details: https://anonhg.NetBSD.org/src/rev/ea4f80cdb19c
branches: trunk
changeset: 340942:ea4f80cdb19c
user: roy <roy%NetBSD.org@localhost>
date: Mon Oct 12 09:28:15 2015 +0000
description:
Ignore loopback interfaces
diffstat:
external/apache2/mDNSResponder/dist/mDNSPosix/mDNSUNP.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 1cfeafe8b0cf -r ea4f80cdb19c external/apache2/mDNSResponder/dist/mDNSPosix/mDNSUNP.c
--- a/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSUNP.c Mon Oct 12 09:26:38 2015 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSUNP.c Mon Oct 12 09:28:15 2015 +0000
@@ -277,6 +277,8 @@
flags = ifrcopy.ifr_flags;
if ((flags & IFF_UP) == 0)
continue; /* ignore if interface not up */
+ if ((flags & IFF_LOOPBACK))
+ continue; /* ignore loopback interfaces */
/* Skip addresses we can't use */
#ifdef SIOCGIFAFLAG_IN
Home |
Main Index |
Thread Index |
Old Index