Fix a brain-o in the last commit, the conditional was always false.

This commit is contained in:
thompsa 2006-01-02 23:02:43 +00:00
parent 8c50d249a2
commit a09bf7ddac

View File

@ -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;