diff options
Diffstat (limited to 'src/conf_mode/interface-openvpn.py')
-rwxr-xr-x | src/conf_mode/interface-openvpn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interface-openvpn.py b/src/conf_mode/interface-openvpn.py index 0f1cebaad..47257e9d7 100755 --- a/src/conf_mode/interface-openvpn.py +++ b/src/conf_mode/interface-openvpn.py @@ -506,7 +506,7 @@ def get_config(): # with "topology p2p", this is "<ip> <our_ip>". if openvpn['server_topology'] == 'subnet': # we are only interested in the netmask portion of server_subnet - data['remote_netmask'] = openvpn['server_subnet'][1] + data['remote_netmask'] = openvpn['server_subnet'].split(' ')[1] else: # we need the server subnet in format 192.0.2.0/255.255.255.0 subnet = openvpn['server_subnet'].replace(' ', r'/') |