diff options
author | Phil Davis <phil.davis@world.inf.org> | 2013-10-11 02:20:39 -0700 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2013-10-11 02:20:39 -0700 |
commit | feb2e013edfa01e095120781f5d0717a95736323 (patch) | |
tree | 430466a73fc64fe7ef5531091ba3a2180d3761b9 /etc | |
parent | 634054cc6935e35a8eb079d095abc7208ea1638b (diff) | |
download | pfsense-feb2e013edfa01e095120781f5d0717a95736323.zip pfsense-feb2e013edfa01e095120781f5d0717a95736323.tar.gz |
Remove redundant test for OpenVPN resync_needed
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.openvpn | 2 |
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; } } |