summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_ipv6.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-15 22:54:58 +0100
committerChristian Breunig <christian@breunig.cc>2024-02-16 08:32:52 +0100
commitece0e768f36e52f8964823d891264d7c187204ec (patch)
treecbd7c0a54e048aef17b27ba728b38e9352a0f8b1 /src/conf_mode/system_ipv6.py
parent56654191613113764415d7eddadcbd8c97e126de (diff)
downloadvyos-1x-ece0e768f36e52f8964823d891264d7c187204ec.tar.gz
vyos-1x-ece0e768f36e52f8964823d891264d7c187204ec.zip
T6001: add option to disable next-hop-tracking resolve-via-default
* set system ip nht no-resolve-via-default * set system ipv6 nht no-resolve-via-default
Diffstat (limited to 'src/conf_mode/system_ipv6.py')
-rwxr-xr-xsrc/conf_mode/system_ipv6.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/system_ipv6.py b/src/conf_mode/system_ipv6.py
index 90a1a8087..00d440e35 100755
--- a/src/conf_mode/system_ipv6.py
+++ b/src/conf_mode/system_ipv6.py
@@ -104,6 +104,7 @@ def apply(opt):
# The route-map used for the FIB (zebra) is part of the zebra daemon
frr_cfg.load_configuration(zebra_daemon)
+ frr_cfg.modify_section(r'no ipv6 nht resolve-via-default')
frr_cfg.modify_section(r'ipv6 protocol \w+ route-map [-a-zA-Z0-9.]+', stop_pattern='(\s|!)')
if 'frr_zebra_config' in opt:
frr_cfg.add_before(frr.default_add_before, opt['frr_zebra_config'])