summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/networkd-nexthop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-nexthop.c b/src/network/networkd-nexthop.c
index 7675ea4c55..c639b01c22 100644
--- a/src/network/networkd-nexthop.c
+++ b/src/network/networkd-nexthop.c
@@ -968,7 +968,7 @@ static void nexthop_forget_one(NextHop *nexthop) {
Request *req;
if (nexthop_get_request_by_id(nexthop->manager, nexthop->id, &req) >= 0)
- route_enter_removed(req->userdata);
+ nexthop_enter_removed(req->userdata);
nexthop_enter_removed(nexthop);
log_nexthop_debug(nexthop, "Forgetting silently removed", nexthop->manager);