summaryrefslogtreecommitdiffstats
path: root/usr.sbin/routed
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-18 19:59:35 +0000
committerjkh <jkh@FreeBSD.org>1996-06-18 19:59:35 +0000
commitc771a37efaf4ad6f863cbf1cd44ec4e6dd1b0248 (patch)
tree4c36e6873131bd315c3571341f6d120601af3090 /usr.sbin/routed
parent4c457721340b66d14954380bb2ce29a6c38d9888 (diff)
downloadFreeBSD-src-c771a37efaf4ad6f863cbf1cd44ec4e6dd1b0248.zip
FreeBSD-src-c771a37efaf4ad6f863cbf1cd44ec4e6dd1b0248.tar.gz
Shut up a message which now appears to be a natural consequence of RIP2 and
RIP1 routeds on the same subnet and I *don't* want filling up my syslog.
Diffstat (limited to 'usr.sbin/routed')
-rw-r--r--usr.sbin/routed/table.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/routed/table.c b/usr.sbin/routed/table.c
index 1106563..9c8b741 100644
--- a/usr.sbin/routed/table.c
+++ b/usr.sbin/routed/table.c
@@ -35,7 +35,7 @@
static char sccsid[] = "@(#)tables.c 8.1 (Berkeley) 6/5/93";
#endif /* not lint */
-#ident "$Revision: 1.2 $"
+#ident "$Revision: 1.1.3.1 $"
#include "defs.h"
@@ -1461,8 +1461,15 @@ rtadd(naddr dst,
if (0 == rhead->rnh_addaddr(&rt->rt_dst_sock, &mask_sock,
rhead, rt->rt_nodes)) {
+/*
+ * This will happen if RIP1 and RIP2 routeds talk to one another and
+ * there are variable subnets. This is only good for filling up your
+ * syslog. -jkh
+ */
+#if 0
msglog("rnh_addaddr() failed for %s mask=%#x",
naddr_ntoa(dst), mask);
+#endif
}
}
OpenPOWER on IntegriCloud