summaryrefslogtreecommitdiff
path: root/src/network/networkd-dhcp4.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-12-05 05:01:30 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-12-06 21:30:57 +0900
commit95eb38c8d0df10b100d37e3be24a7eaf75b76adc (patch)
treeb2add7abbaee6e74d3344b79e38425a1b26e7672 /src/network/networkd-dhcp4.c
parent1d44187ce66ff10ce150713f468845a3dcbea783 (diff)
downloadsystemd-95eb38c8d0df10b100d37e3be24a7eaf75b76adc.tar.gz
network: route: make route_cancel_request() take Link*
As the Route object may be managed by Manager.
Diffstat (limited to 'src/network/networkd-dhcp4.c')
-rw-r--r--src/network/networkd-dhcp4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c
index 1ee0052a75..cd30cae7c9 100644
--- a/src/network/networkd-dhcp4.c
+++ b/src/network/networkd-dhcp4.c
@@ -71,7 +71,7 @@ static int dhcp4_remove_address_and_routes(Link *link, bool only_marked) {
if (k < 0)
r = k;
- route_cancel_request(route);
+ route_cancel_request(route, link);
}
SET_FOREACH(address, link->addresses) {