diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-12-05 05:01:30 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-12-06 21:30:57 +0900 |
commit | 95eb38c8d0df10b100d37e3be24a7eaf75b76adc (patch) | |
tree | b2add7abbaee6e74d3344b79e38425a1b26e7672 /src/network/networkd-dhcp4.c | |
parent | 1d44187ce66ff10ce150713f468845a3dcbea783 (diff) | |
download | systemd-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.c | 2 |
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) { |