summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2013-10-11 02:20:39 -0700
committerPhil Davis <phil.davis@world.inf.org>2013-10-11 02:20:39 -0700
commitfeb2e013edfa01e095120781f5d0717a95736323 (patch)
tree430466a73fc64fe7ef5531091ba3a2180d3761b9 /etc
parent634054cc6935e35a8eb079d095abc7208ea1638b (diff)
downloadpfsense-feb2e013edfa01e095120781f5d0717a95736323.zip
pfsense-feb2e013edfa01e095120781f5d0717a95736323.tar.gz
Remove redundant test for OpenVPN resync_needed
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.openvpn2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.openvpn b/etc/rc.openvpn
index 303b572..0af7f2a 100755
--- a/etc/rc.openvpn
+++ b/etc/rc.openvpn
@@ -54,7 +54,7 @@ function openvpn_resync_if_needed ($mode, $ovpn_settings, $interface) {
$new_device = get_failover_interface($ovpn_settings['interface']);
if (isset($config['interfaces'][$interface])) {
$this_device = $config['interfaces'][$interface]['if'];
- if (($current_device == $new_device) && ($current_device != $this_device) && ($new_device != $this_device))
+ if (($current_device == $new_device) && ($current_device != $this_device))
$resync_needed = false;
}
}
OpenPOWER on IntegriCloud