summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomty89 <tom.ty89@gmail.com>2016-06-04 18:31:07 +0800
committerDaniel Mack <github@zonque.org>2016-06-04 12:31:07 +0200
commit3fb1ac5d57954bb0d881a68777e996b46ed44ce3 (patch)
tree0fd5bf200160ca6327bd0b1c11daa2deeda101cb
parentf3e43635932c14f8f0aea078adf3bfe09a9ba683 (diff)
networkd-link: fix handler typo for route_remove() (#3433)
Obviously we've been using the wrong handler here. Fixes #3352.
-rw-r--r--src/network/networkd-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index ba4147f875..ee52b1ce1e 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2252,7 +2252,7 @@ static int link_drop_foreign_config(Link *link) {
if (route->protocol == RTPROT_KERNEL)
continue;
- r = route_remove(route, link, link_address_remove_handler);
+ r = route_remove(route, link, link_route_remove_handler);
if (r < 0)
return r;
}