diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2020-04-15 12:37:17 +0000 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2020-04-15 17:56:57 +0000 |
| commit | fae01935bb7b0de6b107981497b479c2c5a75fc2 (patch) | |
| tree | 4b344f601fd1205b006e8d30b9ab75431db2199b /zebra/interface.h | |
| parent | 260616d55d96fab302c678ee78e0a58ca60b0aa1 (diff) | |
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 <dslice@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.h')
| -rw-r--r-- | zebra/interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
