diff options
author | Ermal <eri@pfsense.org> | 2014-04-14 19:11:34 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-04-14 19:11:34 +0000 |
commit | 4a97aa344fce45cde0a826ea364bea9441494b6b (patch) | |
tree | dd274fb8dc8bbb80003c7a4e8830b4e17fcf60af | |
parent | 57ab9f7d5272c1d84be424820c2f7af0d4c2cf1e (diff) | |
download | pfsense-4a97aa344fce45cde0a826ea364bea9441494b6b.zip pfsense-4a97aa344fce45cde0a826ea364bea9441494b6b.tar.gz |
Correct the sense of the check to allow openvpn to work
-rw-r--r-- | etc/inc/openvpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 9e27c16..bfbbd05 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -416,7 +416,7 @@ function openvpn_reconfigure($mode, $settings) { $devname = "ovpnc{$vpnid}"; /* is our device already configured */ - if (does_interface_exist($devname)) { + if (!does_interface_exist($devname)) { /* create the tap device if required */ if (!file_exists("/dev/{$tunname}")) |