diff options
author | Phil Davis <phil.davis@world.inf.org> | 2013-10-11 02:20:39 -0700 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-10-23 09:58:11 -0200 |
commit | 5d21bce0c6a9a5a198b9e34e1c3c02fbd4c61343 (patch) | |
tree | b7a95a2916810f80b04bbaf88d6ae9359fdf5471 | |
parent | f8804b74f91523f447ce939250f4180dcc201bfa (diff) | |
download | pfsense-5d21bce0c6a9a5a198b9e34e1c3c02fbd4c61343.zip pfsense-5d21bce0c6a9a5a198b9e34e1c3c02fbd4c61343.tar.gz |
Remove redundant test for OpenVPN resync_needed
-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 7ec7df8..d7193d8 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; } } |