diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2014-05-07 09:19:06 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-05-09 15:50:33 +0200 |
commit | 173a1077ef4d198c2ce1b30f611e5fe5875faa01 (patch) | |
tree | 9a37cc048ccad79ad159c9b69065a2463eb6a461 /interface-ip.c | |
parent | 4ed03f2481cb2c687b0b38258e53c6be933c3918 (diff) |
netifd: Remove useless route table parameter check in update_proto_route
Not necessary since route table parameter is used as key element in route_cmp
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'interface-ip.c')
-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 8458666..a82d8e7 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -581,7 +581,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->table == route_new->table) && !route_old->failed; + !route_old->failed; if (node_old) { if (!(route_old->flags & DEVADDR_EXTERNAL) && route_old->enabled && !keep) |