From 482ef0644539ea69de07980cd7b599d2e48ed1c1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 29 Nov 2021 20:00:15 +0100 Subject: rpki: T3753: add missing "exit" marker after FRR upstream fix --- src/conf_mode/protocols_rpki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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']) -- cgit v1.2.3