]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
inet6: Support RFC 4862 5.5.3.e in regards to Valid Lifetime
authorRoy Marples <roy@marples.name>
Mon, 8 Aug 2022 15:47:55 +0000 (16:47 +0100)
committerRoy Marples <roy@marples.name>
Mon, 8 Aug 2022 15:47:55 +0000 (16:47 +0100)
commit41b8ff0929f1c7ca9a270da24209a38271863e67
tree87379ee7972af132f738cd83e55f5a83e7a79ad5
parentb4e06fdb6ba44774f675234059662611eb0ef0f0
inet6: Support RFC 4862 5.5.3.e in regards to Valid Lifetime

      1.  If the received Valid Lifetime is greater than 2 hours or
          greater than RemainingLifetime, set the valid lifetime of the
          corresponding address to the advertised Valid Lifetime.

      2.  If RemainingLifetime is less than or equal to 2 hours, ignore
          the Prefix Information option with regards to the valid
          lifetime.

      3.  Otherwise, reset the valid lifetime of the corresponding
          address to 2 hours.
src/ipv6nd.c
src/ipv6nd.h