summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-09-08 16:40:50 +0200
committerSteven Barth <steven@midlink.org>2014-09-08 16:40:50 +0200
commit46c569989f984226916fec28dd8ef152a664043e (patch)
treef24a5d4303506b09ed6dd952b068b933b8afca03 /interface-ip.c
parentb2dcb02570939d98b92c7c55db1c328693a5d52a (diff)
ipv6: work around kernel on-link handling issue
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'interface-ip.c')
-rw-r--r--interface-ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-ip.c b/interface-ip.c
index 8d12658..62d15fd 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -601,7 +601,7 @@ interface_update_proto_route(struct vlist_tree *tree,
if (node_old && node_new)
keep = !memcmp(&route_old->nexthop, &route_new->nexthop, sizeof(route_old->nexthop)) &&
(route_old->mtu == route_new->mtu) && (route_old->type == route_new->type) &&
- !route_old->failed;
+ (route_old->valid_until == route_new->valid_until) && !route_old->failed;
if (node_old) {
if (!(route_old->flags & DEVADDR_EXTERNAL) && route_old->enabled && !keep)