]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
route lifetime behaviour should mirror other lifetimes
authorRoy Marples <roy@marples.name>
Sat, 22 Feb 2025 13:21:17 +0000 (13:21 +0000)
committerRoy Marples <roy@marples.name>
Sat, 22 Feb 2025 13:21:17 +0000 (13:21 +0000)
commite7f90918a1c2d2aafef64a9eac3e8b0ce0548184
treeb7ba9fc35265f5cdcc228746de7b82c8b9c30168
parentef74ffdaff7638381cf79d24d0ffc5977aeecd79
route lifetime behaviour should mirror other lifetimes

Each lifetime has a an aquistion time so we can compare to
now to know how much of the lifetime is left.
Apply the difference when adding/changing the route just as we
do for addresses.

This allow us to work out better when we need to update the
route lifetime from a newer aquisition.

Fixes #465.
src/common.h
src/if-linux.c
src/ipv6.c
src/ipv6nd.c
src/route.c
src/route.h