router: support ra_lifetime being 0
authorJan-Philipp Litza <jplitza@users.noreply.github.com>
Thu, 4 Jul 2019 11:31:25 +0000 (13:31 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 7 Jul 2019 20:02:49 +0000 (22:02 +0200)
commitf6c2242c7af2de8f40f5b6b8e50c350a138bc183
treea497c115cdd2864d09a1aa14153fdef1e68f4ffe
parentd11180932b2fb8784aaad0830c032e42b8bb64ac
router: support ra_lifetime being 0

The value 0 has the special meaning of not being a default router. This
is useful to only advertise prefixes or DNS settings without being a
real router.

Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
src/router.c