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

This commit is contained in:
Andrew Thompson 2006-01-02 23:02:43 +00:00
parent 94e45ae5e8
commit f0feaf4f19

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;