From a09bf7ddac0483aca177971a0d54b57ccdc2f4b5 Mon Sep 17 00:00:00 2001 From: thompsa Date: Mon, 2 Jan 2006 23:02:43 +0000 Subject: Fix a brain-o in the last commit, the conditional was always false. --- sys/net/if_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 2dc8af2..ad462ae 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -2151,7 +2151,7 @@ bridge_rtupdate(struct bridge_softc *sc, const uint8_t *dst, } brt->brt_ifp = dst_if; - if (flags & IFBAF_DYNAMIC) + if ((flags & IFBAF_TYPEMASK) == IFBAF_DYNAMIC) brt->brt_expire = time_uptime + sc->sc_brttimeout; if (setflags) brt->brt_flags = flags; -- cgit v1.1