summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-11-15 01:07:00 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-11-15 10:44:07 +0100
commitdd54e6342904ac7b1c414a1fa79db3012df673e1 (patch)
treea10e9cc5004e6fdda933bc93eeb5e1f47357fe05 /src/network
parenttest: skip TEST-84-STORAGETM if running with bugged libnvme (diff)
downloadsystemd-dd54e6342904ac7b1c414a1fa79db3012df673e1.tar.xz
systemd-dd54e6342904ac7b1c414a1fa79db3012df673e1.zip
network/nexthop: fix copy-and-paste error
Follow-up for 688f166972916b5cfc9287055582ac1aeef3d486.
Diffstat (limited to 'src/network')
-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);