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
committerMark Stapp <mjs@voltanet.io>2021-06-11 09:29:13 -0400
commit6fb3580882bef9cf94aa69a4b202eb9ea5307898 (patch)
tree24138865e1be37fe5f0b56f7368f55d3744b4aa8 /zebra/zebra_mpls_openbsd.c
parentbc77c3bb8abb15ff29c5e93a97e08fe3b7a3d1e9 (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>
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;
}