summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-02-20 15:31:48 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-02-20 16:25:18 +0100
commit3495f179bd901d6d232e0dbf35444ebe483fdfd9 (patch)
tree7378fb16b52361778cfce9d27c6f61f15ba2cf7a /src/odhcpd.h
parente437ce9422c2f92752be5b6b3fd453e099a98a7e (diff)
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>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index a88eb08..538a7e5 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -150,6 +150,7 @@ struct interface {
bool always_rewrite_dns;
bool ra_not_onlink;
bool ra_advrouter;
+ bool ra_useleasetime;
bool no_dynamic_dhcp;
// RA