diff options
author | denis <denis@cvs.openbsd.org> | 2018-11-05 07:01:16 +0000 |
---|---|---|
committer | denis <denis@cvs.openbsd.org> | 2018-11-05 07:01:16 +0000 |
commit | 90f199dcd31805fa7448095cf4ee7cf754582714 (patch) | |
tree | d33dbc3e234f68a03f31af71a523190b2c3880bf | |
parent | e9c5bac4afb9fd1f6772b4825718ed4928320f2d (diff) |
F_RIB_HASNOFIB is defined, let's use it
OK claudio@
-rw-r--r-- | usr.sbin/bgpd/kroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 544cf812b62..73df2bd4864 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.224 2018/09/29 19:25:32 benno Exp $ */ +/* $OpenBSD: kroute.c,v 1.225 2018/11/05 07:01:15 denis Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -381,7 +381,7 @@ ktable_update(u_int rtableid, char *name, char *ifname, int flags, u_int8_t } } - if (flags & (F_RIB_NOEVALUATE | F_RIB_NOFIB)) + if (flags & F_RIB_HASNOFIB) /* only rdomain table must exist */ return (0); |