summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@labn.net>2023-04-26 15:55:32 -0400
committerMark Stapp <mjs@labn.net>2023-06-12 16:41:27 -0400
commita32d40a67638c1a7b0d66aede849d510f02d48b4 (patch)
tree98b318a553cb6765829213d1360feb74e72a8758 /zebra/interface.h
parent3895ea777b05c05d8b20d7eb8e3b3033c02c991e (diff)
zebra: clarify interface-level mpls config
We have both interface-level configuration to enable mpls, and runtime mpls status. They need to be distinct. Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index e5545d6ba0..44dcafbad0 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -114,6 +114,9 @@ struct zebra_if {
/* MPLS status. */
bool mpls;
+ /* MPLS configuration */
+ uint8_t mpls_config;
+
/* Linkdown status */
bool linkdown, linkdownv6;