summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/kroute.c')
-rw-r--r--usr.sbin/bgpd/kroute.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c
index 14d31d39b2f..e15df88d657 100644
--- a/usr.sbin/bgpd/kroute.c
+++ b/usr.sbin/bgpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.95 2004/05/08 06:04:57 henning Exp $ */
+/* $OpenBSD: kroute.c,v 1.96 2004/06/20 19:16:53 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1025,6 +1025,9 @@ fetchtable(void)
if (rtm->rtm_flags & RTF_LLINFO) /* arp cache */
continue;
+ if (rtm->rtm_flags & RTF_MPATH) /* multipath */
+ continue;
+
if ((kr = calloc(1, sizeof(struct kroute_node))) == NULL) {
log_warn("fetchtable");
free(buf);