Mercurial > hg > dhcpcd
comparison src/route.c @ 5546:08426e8a98a7 draft
DHCP6: Delegated activations work once more
This was broken with the --noconfigure option in dhcpcd-9.3.3
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Sat, 21 Nov 2020 11:59:07 +0000 |
| parents | d40f87a25035 |
| children | 4fe5c2a71254 |
comparison
equal
deleted
inserted
replaced
| 5545:d40f87a25035 | 5546:08426e8a98a7 |
|---|---|
| 711 /* Rewind the miss filter */ | 711 /* Rewind the miss filter */ |
| 712 ctx->rt_missfilterlen = 0; | 712 ctx->rt_missfilterlen = 0; |
| 713 #endif | 713 #endif |
| 714 | 714 |
| 715 RB_TREE_FOREACH_SAFE(rt, &routes, rtn) { | 715 RB_TREE_FOREACH_SAFE(rt, &routes, rtn) { |
| 716 if (rt->rt_ifp->active && | 716 if (rt->rt_ifp->active) { |
| 717 !(rt->rt_ifp->options->options & DHCPCD_CONFIGURE)) | 717 if (!(rt->rt_ifp->options->options & DHCPCD_CONFIGURE)) |
| 718 continue; | |
| 719 } else if (!(ctx->options & DHCPCD_CONFIGURE)) | |
| 718 continue; | 720 continue; |
| 719 #ifdef BSD | 721 #ifdef BSD |
| 720 if (rt_is_default(rt) && | 722 if (rt_is_default(rt) && |
| 721 if_missfilter(rt->rt_ifp, &rt->rt_gateway) == -1) | 723 if_missfilter(rt->rt_ifp, &rt->rt_gateway) == -1) |
| 722 logerr("if_missfilter"); | 724 logerr("if_missfilter"); |
