diff options
| author | Roy Marples <roy@marples.name> | 2020-11-13 08:21:12 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-11-13 08:21:12 +0000 |
| commit | 7ece8ef526fee000068d49ba8d1f8ae7d79e30de (patch) | |
| tree | eb9d8668b81f7cdd822053f7d5a564108e54e698 | |
| parent | 77260559dd3896fca1fc415ba57a01a71aedbc57 (diff) | |
| download | dhcpcd-7ece8ef526fee000068d49ba8d1f8ae7d79e30de.tar.xz | |
route: Correct prior logic
| -rw-r--r-- | src/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) && |
