Don't overflow router lifetime
authorWill Mortensen <willmo@gmail.com>
Mon, 19 Oct 2015 03:50:56 +0000 (20:50 -0700)
committerWill Mortensen <willmo@gmail.com>
Wed, 21 Oct 2015 06:39:29 +0000 (23:39 -0700)
commit1ef3103b7a9ac37bd2967ae57c5f0bc6e697bb7f
tree9d3d45fb38d45d5f06d60f979997b739c9de6a76
parentb1c0c6664ed01d9643975bafb3026d699bd5e266
Don't overflow router lifetime

When a prefix lifetime was greater than UINT16_MAX, we would advertise a
shorter router lifetime (even potentially 0). Saturate instead.
src/router.c