summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls_openbsd.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-06-10 16:49:56 -0400
committermergify-bot <noreply@mergify.io>2021-07-24 17:16:58 +0000
commit0de3408c6945bdd6d1399a01e15efa2d85e91c0c (patch)
treeb705e8249995957bcea30c941c3233eec79ba710 /zebra/zebra_mpls_openbsd.c
parent12cedff3d2f886a20daff7ceefe489d9bb6b1fc0 (diff)
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> (cherry picked from commit 6fb3580882bef9cf94aa69a4b202eb9ea5307898)
Diffstat (limited to 'zebra/zebra_mpls_openbsd.c')
-rw-r--r--zebra/zebra_mpls_openbsd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_mpls_openbsd.c b/zebra/zebra_mpls_openbsd.c
index b767929dc0..74b1e37278 100644
--- a/zebra/zebra_mpls_openbsd.c
+++ b/zebra/zebra_mpls_openbsd.c
@@ -458,6 +458,9 @@ int mpls_kernel_init(void)
kr_state.rtseq = 1;
+ /* Strict pseudowire reachability checking required for obsd */
+ mpls_pw_reach_strict = true;
+
return 0;
}