summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-05-11 16:50:14 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-05-11 16:58:59 +0200
commite4504db88c5b501142cc97a08876d924d673f605 (patch)
tree490f3148eac6be6e6e186deb553084b4793cf6cc /src/odhcpd.h
parent9dd5316deae6402de68ddc8a08d1a6b496101828 (diff)
config: make RA curHopLimit configurable via uci
Allow to specify the router advertisement current hop limit via the uci parameter ra_hoplimit. If hoplimit is not configured the hoplimit is taken from the interface as before. 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 50827a4..28c81eb 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -162,6 +162,7 @@ struct interface {
int ra_maxinterval;
int ra_mininterval;
int ra_lifetime;
+ uint32_t ra_hoplimit;
uint32_t ra_mtu;
// DHCPv4