diff options
author | 2018-07-10 08:00:09 +0000 | |
---|---|---|
committer | 2018-07-10 08:00:09 +0000 | |
commit | d4f943c4272282afd1770246a17463ac9a14910c (patch) | |
tree | 715a3a4a8702ad08f3af14a29c0e9f548ec82bcd | |
parent | Actually clear the right thing in rib_free() (diff) | |
download | wireguard-openbsd-d4f943c4272282afd1770246a17463ac9a14910c.tar.xz wireguard-openbsd-d4f943c4272282afd1770246a17463ac9a14910c.zip |
compare the right things here: we want to know if the flag has changed.
Found with claudios help and patience.
ok phessler@ claudio@
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 3c56efc9cda..1cf24fda878 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.386 2018/07/09 14:44:02 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.387 2018/07/10 08:00:09 benno Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -767,7 +767,7 @@ rde_dispatch_imsg_parent(struct imsgbuf *ibuf) rib = rib_new(rn.name, rn.rtableid, rn.flags); else if (rib->rtableid != rn.rtableid || (rib->flags & F_RIB_HASNOFIB) != - (rib->flags & F_RIB_HASNOFIB)) { + (rn.flags & F_RIB_HASNOFIB)) { struct filter_head *in_rules; struct rib_desc *ribd = rib_desc(rib); /* |