summaryrefslogtreecommitdiff
path: root/src/conf_mode/dns_forwarding.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-07 12:36:34 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-07 12:36:34 +0200
commitee603b3a0f9f3add72c1e5ac2277c013d40cf5a4 (patch)
treeb2bba68ca151b602158436222f5c943e30151a8e /src/conf_mode/dns_forwarding.py
parent82945a7ff0899295776b5a4bc009fe6513bcdbda (diff)
downloadvyos-1x-ee603b3a0f9f3add72c1e5ac2277c013d40cf5a4.tar.gz
vyos-1x-ee603b3a0f9f3add72c1e5ac2277c013d40cf5a4.zip
dns: T4509: improve 6to4 error message
Diffstat (limited to 'src/conf_mode/dns_forwarding.py')
-rwxr-xr-xsrc/conf_mode/dns_forwarding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py
index a96183b04..d0d87d73e 100755
--- a/src/conf_mode/dns_forwarding.py
+++ b/src/conf_mode/dns_forwarding.py
@@ -270,7 +270,7 @@ def verify(dns):
dns_prefix = dns['dns64_prefix'].split('/')[1]
# RFC 6147 requires prefix /96
if int(dns_prefix) != 96:
- raise ConfigError('DNS forwarding "dns64-prefix" must be /96')
+ raise ConfigError('DNS 6to4 prefix must be of length /96')
if ('authoritative_zone_errors' in dns) and dns['authoritative_zone_errors']:
for error in dns['authoritative_zone_errors']: