diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-16 18:58:21 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-16 18:58:21 +0100 |
commit | 050f44ef1fba3cc23934a65df59ab3d1181cb5d0 (patch) | |
tree | f26727c632a4c3f7d23a86169baf8db0aa08498f /src/conf_mode/protocols_ospf.py | |
parent | 96656b1a7bb7166c923a45d1333d7e7c7add5514 (diff) | |
download | vyos-1x-050f44ef1fba3cc23934a65df59ab3d1181cb5d0.tar.gz vyos-1x-050f44ef1fba3cc23934a65df59ab3d1181cb5d0.zip |
ospfv3: T3313: move interface related options to "protocols ospfv3 interface"
Diffstat (limited to 'src/conf_mode/protocols_ospf.py')
-rwxr-xr-x | src/conf_mode/protocols_ospf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_ospf.py b/src/conf_mode/protocols_ospf.py index 2ce0ab530..6d9eb828b 100755 --- a/src/conf_mode/protocols_ospf.py +++ b/src/conf_mode/protocols_ospf.py @@ -137,7 +137,7 @@ def apply(ospf): # Save original configuration prior to starting any commit actions frr_cfg = frr.FRRConfig() frr_cfg.load_configuration(frr_daemon) - frr_cfg.modify_section(r'interface \S+', '') + frr_cfg.modify_section(r'^interface \S+', '') frr_cfg.modify_section('^router ospf$', '') frr_cfg.add_before(r'(ip prefix-list .*|route-map .*|line vty)', ospf['new_frr_config']) frr_cfg.commit_configuration(frr_daemon) |