summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2017-12-11 15:37:26 -0200
committerGitHub <noreply@github.com>2017-12-11 15:37:26 -0200
commitf8582ec77a510eb59a94ef276e41ba6e104678cf (patch)
tree4d895907b26fc18f8d113be9713e534794c217e7 /zebra/interface.h
parenteac04bc5d3405eb9f931a7573c6a04fae815857e (diff)
parent3ea48364e15638686467defc34896fac6638627f (diff)
Merge pull request #1524 from dslicenc/zebra-ra-display-cm18702
zebra: do not display ipv6 ra commands created by bgpd
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index 6bc05e21c5..f095a32d1e 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -170,7 +170,12 @@ struct rtadvconf {
#define RTADV_PREF_MEDIUM 0x0 /* Per RFC4191. */
u_char inFastRexmit; /* True if we're rexmits faster than usual */
- u_char configured; /* Has operator configured RA? */
+
+ /* Track if RA was configured by BGP or by the Operator or both */
+ u_char ra_configured; /* Was RA configured? */
+#define BGP_RA_CONFIGURED (1<<0) /* BGP configured RA? */
+#define VTY_RA_CONFIGURED (1<<1) /* Operator configured RA? */
+#define VTY_RA_INTERVAL_CONFIGURED (1<<2) /* Operator configured RA interval */
int
NumFastReXmitsRemain; /* Loaded first with number of fast
rexmits to do */