diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/openvpn-client-export/openvpn-client-export.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc index 390e448e..ec9faaa8 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -110,7 +110,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke if ($useaddr) { $interface = $settings['interface']; if (!$interface) - $interface = 'WAN'; + $interface = 'wan'; $iface = convert_friendly_interface_to_real_interface_name($interface); $lines = explode(' ', trim(shell_exec("ifconfig {$iface} | grep inet | grep -v inet6"))); $server_host = $lines[1]; |