diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-03 13:34:07 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-03 13:34:07 +0000 |
commit | 247fd37eb30fa94cfb3943eb28a855337f2d88c7 (patch) | |
tree | 797c0ef663fc399b847c969590469bdbac7cad48 | |
parent | d64f23308cfba700f429e3c46edcab17bbe57e80 (diff) |
Make the code more portable by #ifdef-ing RTF_MPATH. OK henning@
-rw-r--r-- | usr.sbin/bgpd/kroute.c | 4 |
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"); |