networkd-link: fix handler typo for route_remove() (#3433)

Obviously we've been using the wrong handler here. Fixes #3352.
This commit is contained in:
tomty89
2016-06-04 12:31:07 +02:00
committed by Daniel Mack
parent f3e4363593
commit 3fb1ac5d57
+1 -1
View File
@@ -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;
}