diff options
author | Mark Stapp <mjs@voltanet.io> | 2021-06-10 22:49:56 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2021-06-11 15:29:13 +0200 |
commit | 6fb3580882bef9cf94aa69a4b202eb9ea5307898 (patch) | |
tree | 24138865e1be37fe5f0b56f7368f55d3744b4aa8 /zebra/zebra_mpls.c | |
parent | zebra: use const in rib_match (diff) | |
download | frr-6fb3580882bef9cf94aa69a4b202eb9ea5307898.tar.xz frr-6fb3580882bef9cf94aa69a4b202eb9ea5307898.zip |
zebra: add boolean to control pw reachability checking
Add a boolean to control whether pseudowire reachability
checking needs to be strict.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_mpls.c')
-rw-r--r-- | zebra/zebra_mpls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index 850ca1763..a4576b310 100644 --- a/zebra/zebra_mpls.c +++ b/zebra/zebra_mpls.c @@ -54,6 +54,7 @@ DEFINE_MTYPE_STATIC(ZEBRA, FEC, "MPLS FEC object"); DEFINE_MTYPE_STATIC(ZEBRA, NHLFE, "MPLS nexthop object"); int mpls_enabled; +bool mpls_pw_reach_strict; /* Strict reachability checking */ /* static function declarations */ @@ -3977,6 +3978,7 @@ void zebra_mpls_init_tables(struct zebra_vrf *zvrf) void zebra_mpls_init(void) { mpls_enabled = 0; + mpls_pw_reach_strict = false; if (mpls_kernel_init() < 0) { flog_warn(EC_ZEBRA_MPLS_SUPPORT_DISABLED, |