Mercurial > hg > dhcpcd
diff src/route.c @ 5536:ddb1318a21e8 draft
When adding a route, the interface will always have options.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 04 Nov 2020 14:25:00 +0000 |
| parents | a0d828e25482 |
| children | 33b56ca3a0e5 |
line wrap: on
line diff
--- a/src/route.c Wed Nov 04 14:18:48 2020 +0000 +++ b/src/route.c Wed Nov 04 14:25:00 2020 +0000 @@ -713,8 +713,7 @@ #endif RB_TREE_FOREACH_SAFE(rt, &routes, rtn) { - if (rt->rt_ifp && rt->rt_ifp->options && - !(rt->rt_ifp->options->options & DHCPCD_CONFIGURE)) + if (rt->rt_ifp->options->options & DHCPCD_CONFIGURE) continue; #ifdef BSD if (rt_is_default(rt) &&
