Fix a brain-o in the last commit, the conditional was always false.
This commit is contained in:
parent
94e45ae5e8
commit
f0feaf4f19
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153979
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user