Closed willmo closed 9 years ago
As the comment implies, if clamping to 9000 is undesirable for some reason, it should at least clamp to UINT16_MAX.
Thanks will clamp to 64K. Clients must accept any value annyway and we habe some phones who randomly drop some or all RAs in standby :/
Meaning we want to advertise the longest possible lifetime? That makes sense.
I've updated this pull request, if you'd like to use it.
Ah nice. Thanks again.
This also avoids advertising an incorrectly short router lifetime when a prefix lifetime is greater than 2 \ 16, due to the truncation to 16 bits.