summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_ipv6.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-16 11:06:27 +0100
committerGitHub <noreply@github.com>2024-02-16 11:06:27 +0100
commitdb8b115301d5476151e7d0910ba674a683683122 (patch)
tree8181127e90e5a8ca6e19a6b1af624acf56482eb4 /src/conf_mode/system_ipv6.py
parentcefa21ae6425355cf22fbe5123b720c5881d9174 (diff)
parent42e83b8b2cca6ba73c2663629cf92b3b2b225898 (diff)
downloadvyos-1x-db8b115301d5476151e7d0910ba674a683683122.tar.gz
vyos-1x-db8b115301d5476151e7d0910ba674a683683122.zip
Merge pull request #3017 from vyos/mergify/bp/sagitta/pr-3016
T6001: add option to disable next-hop-tracking resolve-via-default (backport #3016)
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'])