summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-01 12:35:19 +0200
committerGitHub <noreply@github.com>2022-10-01 12:35:19 +0200
commit8248aaaa7952db580a199bd36202e7f26c19ec88 (patch)
treed45d2368574f67693866309a86f4a6b6ab9e014e /src/conf_mode
parent4105b464491f72aa87765aa3b072fb56ace71b89 (diff)
parent542a964d7207a052e04cb843c1ea4c7a68a981c9 (diff)
downloadvyos-1x-8248aaaa7952db580a199bd36202e7f26c19ec88.tar.gz
vyos-1x-8248aaaa7952db580a199bd36202e7f26c19ec88.zip
Merge pull request #1568 from dmbaturin/abbr-consistency
T4722: consistent use of the official spelling for RADIUS and IPsec
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/vpn_ipsec.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/vpn_ipsec.py b/src/conf_mode/vpn_ipsec.py
index c9061366d..77a425f8b 100755
--- a/src/conf_mode/vpn_ipsec.py
+++ b/src/conf_mode/vpn_ipsec.py
@@ -265,7 +265,7 @@ def verify(ipsec):
ike = ra_conf['ike_group']
if dict_search(f'ike_group.{ike}.key_exchange', ipsec) != 'ikev2':
- raise ConfigError('IPSec remote-access connections requires IKEv2!')
+ raise ConfigError('IPsec remote-access connections requires IKEv2!')
else:
raise ConfigError(f"Missing ike-group on {name} remote-access config")
@@ -308,10 +308,10 @@ def verify(ipsec):
for pool in ra_conf['pool']:
if pool == 'dhcp':
if dict_search('remote_access.dhcp.server', ipsec) == None:
- raise ConfigError('IPSec DHCP server is not configured!')
+ raise ConfigError('IPsec DHCP server is not configured!')
elif pool == 'radius':
if dict_search('remote_access.radius.server', ipsec) == None:
- raise ConfigError('IPSec RADIUS server is not configured!')
+ raise ConfigError('IPsec RADIUS server is not configured!')
if dict_search('authentication.client_mode', ra_conf) != 'eap-radius':
raise ConfigError('RADIUS IP pool requires eap-radius client authentication!')