From 0de3408c6945bdd6d1399a01e15efa2d85e91c0c Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Thu, 10 Jun 2021 16:49:56 -0400 Subject: 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 (cherry picked from commit 6fb3580882bef9cf94aa69a4b202eb9ea5307898) --- zebra/zebra_mpls.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zebra/zebra_mpls.c') diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index 850ca17636..a4576b310e 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, -- cgit v1.2.3