diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-03 21:58:43 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-03 21:58:43 +0000 |
commit | 0e11a661afbff3fb8f61028032ca48b6c7800604 (patch) | |
tree | 8976349bd51d401ab5b80e60c2254a5fb11e908d | |
parent | f9032daac2f1cd7253b873ce88cadf1a37bfe8b8 (diff) | |
download | pfsense-packages-0e11a661afbff3fb8f61028032ca48b6c7800604.tar.gz pfsense-packages-0e11a661afbff3fb8f61028032ca48b6c7800604.tar.bz2 pfsense-packages-0e11a661afbff3fb8f61028032ca48b6c7800604.zip |
Use lower case interface name internally.
-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]; |