diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-28 21:22:08 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-12-02 06:23:45 +0100 |
commit | 63ae056909d64e78a7f348673cb478830482940d (patch) | |
tree | 5c33d3d4cf83d74639953737f81851238e706b33 /src/network/networkd-dhcp4.c | |
parent | 29889b4d2498332f523715e53985653a12dad937 (diff) | |
download | systemd-63ae056909d64e78a7f348673cb478830482940d.tar.gz |
network: use address_remove_handler() as the default callback of address_remove()
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 597791e02b..c8e07028f2 100644 --- a/src/network/networkd-dhcp4.c +++ b/src/network/networkd-dhcp4.c @@ -261,7 +261,7 @@ static int dhcp_lease_lost(Link *link) { address->in_addr.in = addr; address->prefixlen = prefixlen; - address_remove(address, link, link_address_remove_handler); + address_remove(address, link, NULL); } } |