summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bgpd/kroute.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c
index 8f367fdae44..2e0236001f4 100644
--- a/usr.sbin/bgpd/kroute.c
+++ b/usr.sbin/bgpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.104 2004/07/13 17:57:20 jaredy Exp $ */
+/* $OpenBSD: kroute.c,v 1.105 2004/08/03 13:34:06 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1166,8 +1166,10 @@ fetchtable(void)
if (rtm->rtm_flags & RTF_LLINFO) /* arp cache */
continue;
+#ifdef RTF_MPATH
if (rtm->rtm_flags & RTF_MPATH) /* multipath */
continue;
+#endif
if ((kr = calloc(1, sizeof(struct kroute_node))) == NULL) {
log_warn("fetchtable");