summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-17 22:29:59 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-17 22:29:59 +0200
commit9ac79698f5e09e8690b82a2220fb79cdd76918b2 (patch)
tree2925870369b5bdad92cd5385e4bb2caa741a6bad /src/conf_mode
parentc79e93b4ba1c9fbd4cf1bf2d3b880fbf20405d7d (diff)
downloadvyos-1x-9ac79698f5e09e8690b82a2220fb79cdd76918b2.tar.gz
vyos-1x-9ac79698f5e09e8690b82a2220fb79cdd76918b2.zip
policy: T2425: also modify route-map section when using FRR reload
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/policy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/policy.py b/src/conf_mode/policy.py
index f2e9010e3..ddbb00552 100755
--- a/src/conf_mode/policy.py
+++ b/src/conf_mode/policy.py
@@ -92,6 +92,7 @@ def apply(policy):
frr_cfg.modify_section(r'^ipv6 access-list .*')
frr_cfg.modify_section(r'^ip prefix-list .*')
frr_cfg.modify_section(r'^ipv6 prefix-list .*')
+ frr_cfg.modify_section(r'^route-map .*')
frr_cfg.add_before('^line vty', policy['new_frr_config'])
frr_cfg.commit_configuration(zebra_daemon)