From: Roy Marples Date: Fri, 13 Nov 2020 08:21:12 +0000 (+0000) Subject: route: Correct prior logic X-Git-Tag: v9.3.3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ece8ef526fee000068d49ba8d1f8ae7d79e30de;p=thirdparty%2Fdhcpcd.git route: Correct prior logic --- diff --git a/src/route.c b/src/route.c index 8e759775..80c23850 100644 --- a/src/route.c +++ b/src/route.c @@ -713,7 +713,7 @@ rt_build(struct dhcpcd_ctx *ctx, int af) #endif RB_TREE_FOREACH_SAFE(rt, &routes, rtn) { - if (rt->rt_ifp->options->options & DHCPCD_CONFIGURE) + if (!(rt->rt_ifp->options->options & DHCPCD_CONFIGURE)) continue; #ifdef BSD if (rt_is_default(rt) &&