summaryrefslogtreecommitdiff
path: root/src/network/networkd-dhcp4.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-28 21:22:08 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-12-02 06:23:45 +0100
commit63ae056909d64e78a7f348673cb478830482940d (patch)
tree5c33d3d4cf83d74639953737f81851238e706b33 /src/network/networkd-dhcp4.c
parent29889b4d2498332f523715e53985653a12dad937 (diff)
downloadsystemd-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.c2
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);
}
}