From fae01935bb7b0de6b107981497b479c2c5a75fc2 Mon Sep 17 00:00:00 2001 From: Don Slice Date: Wed, 15 Apr 2020 12:37:17 +0000 Subject: zebra: add ability to set hoplimit for IPv6 RAs Reported by testing agency that rfc 4861 section 6.2.1 states that all implementations must have a configuration knob to change the setting of the advertised hop limit. This fix adds that capability. Ticket: CM-29200 Signed-off-by: Don Slice --- zebra/interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'zebra/interface.h') diff --git a/zebra/interface.h b/zebra/interface.h index b7e90a0c31..2021e301cd 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -117,6 +117,7 @@ struct rtadvconf { Default: The value specified in the "Assigned Numbers" RFC [ASSIGNED] that was in effect at the time of implementation. */ int AdvCurHopLimit; +#define RTADV_DEFAULT_HOPLIMIT 64 /* 64 hops */ /* The value to be placed in the Router Lifetime field of Router Advertisements sent from the interface, in seconds. MUST be -- cgit v1.2.3