From 7ece8ef526fee000068d49ba8d1f8ae7d79e30de Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 13 Nov 2020 08:21:12 +0000 Subject: [PATCH] route: Correct prior logic --- src/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) && -- 2.47.3