router: allow RA prefix lifetime being set to leasetime value (FS#397)
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 20 Feb 2017 14:31:48 +0000 (15:31 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 20 Feb 2017 15:25:18 +0000 (16:25 +0100)
commit3495f179bd901d6d232e0dbf35444ebe483fdfd9
tree7378fb16b52361778cfce9d27c6f61f15ba2cf7a
parente437ce9422c2f92752be5b6b3fd453e099a98a7e
router: allow RA prefix lifetime being set to leasetime value (FS#397)

Add config option ra_useleasetime which allows the RA prefix lifetime
being set to the leasetime in case the valid and/or preferred prefix
lifetime is bigger than the configured leasetime.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
README
src/config.c
src/odhcpd.h
src/router.c