summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-08-17 17:51:30 +0000
committerume <ume@FreeBSD.org>2003-08-17 17:51:30 +0000
commit4be183de4b83c9ddfedb34c0422fa323c16e16ba (patch)
tree16b6e12fde8a019583fd989bcb9f0362ed7512ad
parent8ef4eb362da2a198acd8d443eec386fe89d98a7e (diff)
downloadFreeBSD-src-4be183de4b83c9ddfedb34c0422fa323c16e16ba.zip
FreeBSD-src-4be183de4b83c9ddfedb34c0422fa323c16e16ba.tar.gz
do not send dump request on -N
Obtained from: KAME MFC after: 1 week
-rw-r--r--usr.sbin/route6d/route6d.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c
index 1f321e1..11c43bf 100644
--- a/usr.sbin/route6d/route6d.c
+++ b/usr.sbin/route6d/route6d.c
@@ -428,6 +428,8 @@ main(argc, argv)
alarm(ripinterval(INIT_INTERVAL6));
for (ifcp = ifc; ifcp; ifcp = ifcp->ifc_next) {
+ if (iff_find(ifcp, 'N'))
+ continue;
if (ifcp->ifc_index > 0 && (ifcp->ifc_flags & IFF_UP))
sendrequest(ifcp);
}
OpenPOWER on IntegriCloud