diff options
author | Steven Barth <steven@midlink.org> | 2014-09-08 16:40:50 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-09-08 16:40:50 +0200 |
commit | 46c569989f984226916fec28dd8ef152a664043e (patch) | |
tree | f24a5d4303506b09ed6dd952b068b933b8afca03 | |
parent | b2dcb02570939d98b92c7c55db1c328693a5d52a (diff) |
ipv6: work around kernel on-link handling issue
Signed-off-by: Steven Barth <steven@midlink.org>
-rw-r--r-- | interface-ip.c | 2 |
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) |