projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed03f2
)
netifd: Remove useless route table parameter check in update_proto_route
author
Hans Dedecker
<dedeckeh@gmail.com>
Wed, 7 May 2014 09:19:06 +0000
(09:19 +0000)
committer
Steven Barth
<steven@midlink.org>
Fri, 9 May 2014 13:50:33 +0000
(15:50 +0200)
Not necessary since route table parameter is used as key element in route_cmp
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
interface-ip.c
patch
|
blob
|
history
diff --git
a/interface-ip.c
b/interface-ip.c
index 84586667518cf59acbf498b13f4673879addbbba..a82d8e70f2acfcbce85ee78ac09f0da6470f2c3f 100644
(file)
--- 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)