diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-05-07 09:24:35 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-05-07 09:24:35 -0300 |
commit | 252612d7dba66f4d152e39694d833e8eb05a2fb8 (patch) | |
tree | 358799233c52702ddce61aed7cd6a8138c9078ae /etc/rc.openvpn | |
parent | e8307ae03e2769bd0ebaa4b9441ac797b50a3800 (diff) | |
download | pfsense-252612d7dba66f4d152e39694d833e8eb05a2fb8.zip pfsense-252612d7dba66f4d152e39694d833e8eb05a2fb8.tar.gz |
Fix wrong check added on commit 1f64b66bf0 that was checking openvpn server twice and don't checking openvpn client
Diffstat (limited to 'etc/rc.openvpn')
-rwxr-xr-x | etc/rc.openvpn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.openvpn b/etc/rc.openvpn index f2a96e0..d57594a 100755 --- a/etc/rc.openvpn +++ b/etc/rc.openvpn @@ -44,9 +44,9 @@ if (file_exists("{$g['varrun_path']}/booting")) $argument = trim($argv[1], " \n"); -if(is_array($config['openvpn']['openvpn-server']) || is_array($config['openvpn']['openvpn-server'])) { +if(is_array($config['openvpn']['openvpn-server']) || is_array($config['openvpn']['openvpn-client'])) { if (empty($argument) || $argument == "all") - $log_text = "all"; + $log_text = "all"; else $log_text = "endpoints that may use " . $argument; log_error("OpenVPN: One or more OpenVPN tunnel endpoints may have changed its IP. Reloading " . $log_text . "."); |