diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-29 20:00:15 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-29 20:00:15 +0100 |
commit | 482ef0644539ea69de07980cd7b599d2e48ed1c1 (patch) | |
tree | 11ab88bc4c49d7c7955344150d5b20c47ecff189 | |
parent | 358831c18fcf2937f4bf85a55fa0c8bdc802d817 (diff) | |
download | vyos-1x-482ef0644539ea69de07980cd7b599d2e48ed1c1.tar.gz vyos-1x-482ef0644539ea69de07980cd7b599d2e48ed1c1.zip |
rpki: T3753: add missing "exit" marker after FRR upstream fix
-rwxr-xr-x | src/conf_mode/protocols_rpki.py | 2 |
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']) |