diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-07 12:36:34 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-07-07 12:40:44 +0200 |
commit | 483389af5db8a2ac4d258280ba132240c6df19d4 (patch) | |
tree | a9c27155ac822eac1cb7e3a304d45101c5fefc23 /src | |
parent | c1d0f849d7b35765d500833028e966df2399a478 (diff) | |
download | vyos-1x-483389af5db8a2ac4d258280ba132240c6df19d4.tar.gz vyos-1x-483389af5db8a2ac4d258280ba132240c6df19d4.zip |
dns: T4509: improve 6to4 error message
(cherry picked from commit ee603b3a0f9f3add72c1e5ac2277c013d40cf5a4)
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/dns_forwarding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py index 997f839b2..3f3a2e232 100755 --- a/src/conf_mode/dns_forwarding.py +++ b/src/conf_mode/dns_forwarding.py @@ -87,7 +87,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 'system' in dns: if not 'system_name_server' in dns: |