summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordenis <denis@openbsd.org>2018-11-05 07:01:15 +0000
committerdenis <denis@openbsd.org>2018-11-05 07:01:15 +0000
commitce24843c202cbcc1b6672048f8d1c7d4871633f9 (patch)
tree6118df9eca602ad82528923c096ebaa18c7916d8
parentClean up the code that checks if we can choose an EC cipher suite. (diff)
downloadwireguard-openbsd-ce24843c202cbcc1b6672048f8d1c7d4871633f9.tar.xz
wireguard-openbsd-ce24843c202cbcc1b6672048f8d1c7d4871633f9.zip
F_RIB_HASNOFIB is defined, let's use it
OK claudio@
-rw-r--r--usr.sbin/bgpd/kroute.c4
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);