summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2024-08-02 14:27:56 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-09-09 13:16:51 +0000
commit8461eea6c964f4a892028b6743d1bc9c5bcce2ff (patch)
tree776fc0335f3703e16876ad0ec35280aa1d099679 /src
parent06050d7a668bab79a27ddbec0a5f7b88868dc390 (diff)
downloadvyos-1x-8461eea6c964f4a892028b6743d1bc9c5bcce2ff.tar.gz
vyos-1x-8461eea6c964f4a892028b6743d1bc9c5bcce2ff.zip
OPENVPN: T6555: fix name to bridgemergify/bp/sagitta/pr-3920
(cherry picked from commit 0162a27952d2166583a9e6aee2cd77b9c693062b)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces_openvpn.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/interfaces_openvpn.py b/src/conf_mode/interfaces_openvpn.py
index 3c133bc79..467b6f6af 100755
--- a/src/conf_mode/interfaces_openvpn.py
+++ b/src/conf_mode/interfaces_openvpn.py
@@ -379,16 +379,16 @@ def verify(openvpn):
raise ConfigError(f'Server client "{client_k}": cannot specify more than 1 IPv4 and 1 IPv6 IP')
if dict_search('server.bridge', openvpn):
- # check if server-bridge is a tap interfaces
+ # check if server bridge is a tap interfaces
if not openvpn['device_type'] == 'tap' and dict_search('server.bridge', openvpn):
raise ConfigError('Must specify "device-type tap" with server bridge mode')
elif not (dict_search('server.bridge.start', openvpn) and dict_search('server.bridge.stop', openvpn)):
- raise ConfigError('Server server bridge requires both start and stop addresses')
+ raise ConfigError('Server bridge requires both start and stop addresses')
else:
v4PoolStart = IPv4Address(dict_search('server.bridge.start', openvpn))
v4PoolStop = IPv4Address(dict_search('server.bridge.stop', openvpn))
if v4PoolStart > v4PoolStop:
- raise ConfigError(f'Server server bridge start address {v4PoolStart} is larger than stop address {v4PoolStop}')
+ raise ConfigError(f'Server bridge start address {v4PoolStart} is larger than stop address {v4PoolStop}')
v4PoolSize = int(v4PoolStop) - int(v4PoolStart)
if v4PoolSize >= 65536: