summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-29 20:00:15 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-29 20:00:15 +0100
commit482ef0644539ea69de07980cd7b599d2e48ed1c1 (patch)
tree11ab88bc4c49d7c7955344150d5b20c47ecff189
parent358831c18fcf2937f4bf85a55fa0c8bdc802d817 (diff)
downloadvyos-1x-482ef0644539ea69de07980cd7b599d2e48ed1c1.tar.gz
vyos-1x-482ef0644539ea69de07980cd7b599d2e48ed1c1.zip
rpki: T3753: add missing "exit" marker after FRR upstream fix
-rwxr-xr-xsrc/conf_mode/protocols_rpki.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_rpki.py b/src/conf_mode/protocols_rpki.py
index 4bd4e8650..51ad0d315 100755
--- a/src/conf_mode/protocols_rpki.py
+++ b/src/conf_mode/protocols_rpki.py
@@ -90,7 +90,7 @@ def apply(rpki):
# Save original configuration prior to starting any commit actions
frr_cfg = frr.FRRConfig()
frr_cfg.load_configuration(bgp_daemon)
- frr_cfg.modify_section('^rpki')
+ frr_cfg.modify_section('^rpki', stop_pattern='^exit', remove_stop_mark=True)
if 'new_frr_config' in rpki:
frr_cfg.add_before(frr.default_add_before, rpki['new_frr_config'])