]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
DHCP: Don't set address lifetimes when extending leases
authorRoy Marples <roy@marples.name>
Tue, 1 Sep 2020 10:56:53 +0000 (11:56 +0100)
committerRoy Marples <roy@marples.name>
Tue, 1 Sep 2020 10:56:53 +0000 (11:56 +0100)
commitb581e67fe7065d45756ce0a54697ac9913767d75
treeb4c789ee71bf7845e232571013910bc098075d75
parent420382171230e4a6bde8e8907632376bacc055ba
DHCP: Don't set address lifetimes when extending leases

Otherwise the kernel WILL remove them.
dhcpcd already manages address removal when needed because
some OS's do not support address lifetimes even for IPv6.

While here apply the same logic to IPv6.
src/ipv4.c
src/ipv6.c