]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/networkd-dhcp4.c
network: use address_remove_handler() as the default callback of address_remove()
[thirdparty/systemd.git] / src / network / networkd-dhcp4.c
index 597791e02b863f0e81ceff0812cbd7b9dd33950b..c8e07028f2f5dd5a9f56e1fe5647ba826b8dd82b 100644 (file)
@@ -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);
                 }
         }