diff options
| author | Roy Marples <roy@marples.name> | 2019-08-25 12:10:00 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-08-25 12:10:00 +0100 |
| commit | a7827e357ea2e847cb34d7e46cfb9b5db67637e8 (patch) | |
| tree | 6bdbe5b86833ea47bcb9bf35fa90428dd2e565ea /src/ipv6.c | |
| parent | a9287e98d2d47969fb2ba602eb3d1f72788eae19 (diff) | |
| download | dhcpcd-a7827e357ea2e847cb34d7e46cfb9b5db67637e8.tar.xz | |
inet6: Just solicit when a router is unreachable
We shouldn't take the default route away as there could be valid
reasons, such as the default route changing interface.
Instead, just solicit another router if there are no valid routers
on the interface.
Diffstat (limited to 'src/ipv6.c')
| -rw-r--r-- | src/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2271,7 +2271,7 @@ inet6_raroutes(rb_tree_t *routes, struct dhcpcd_ctx *ctx) rt_proto_add(routes, rt); } } - if (rap->lifetime == 0 || !rap->isreachable) + if (rap->lifetime == 0) continue; rt = inet6_makerouter(rap); if (rt == NULL) |
