28 lines
1017 B
Diff
28 lines
1017 B
Diff
|
From b741fc48693ce1bc72179eababf7acd691230409 Mon Sep 17 00:00:00 2001
|
||
|
From: tomty89 <tom.ty89@gmail.com>
|
||
|
Date: Sat, 4 Jun 2016 18:31:07 +0800
|
||
|
Subject: [PATCH] networkd-link: fix handler typo for route_remove() (#3433)
|
||
|
|
||
|
Obviously we've been using the wrong handler here. Fixes #3352.
|
||
|
(cherry picked from commit 3fb1ac5d57954bb0d881a68777e996b46ed44ce3)
|
||
|
---
|
||
|
src/network/networkd-link.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
|
||
|
index 4fe3b888d2..9a2de0126e 100644
|
||
|
--- a/src/network/networkd-link.c
|
||
|
+++ b/src/network/networkd-link.c
|
||
|
@@ -2025,7 +2025,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;
|
||
|
}
|
||
|
--
|
||
|
2.9.0
|
||
|
|