diff options
author | jim-p <jimp@pfsense.org> | 2012-09-30 11:11:56 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-09-30 11:11:56 -0400 |
commit | 193a8e1f677de8ec7cf32edca927bf47a7139c78 (patch) | |
tree | ce0e0a467e1ff59b25d17b95313a54f19ac301a2 /etc/inc/openvpn.inc | |
parent | 680d543da45c157f47ed007e54f7af08de640a43 (diff) | |
download | pfsense-193a8e1f677de8ec7cf32edca927bf47a7139c78.zip pfsense-193a8e1f677de8ec7cf32edca927bf47a7139c78.tar.gz |
Revert "Allow for changing OpenVPN TUN to TAP device mode without reboot." -- Adds blank OpenVPN servers, see ticket #2643
This reverts commit c8bb7f1527a99c69784ab6c01d9050adcde6a8a0.
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r-- | etc/inc/openvpn.inc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 8416264..bddb5c8 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -710,12 +710,7 @@ function openvpn_delete($mode, & $settings) { $vpnid = $settings['vpnid']; $mode_id = $mode.$vpnid; - if (isset($settings['dev_mode'])) - $tunname = "{$settings['dev_mode']}{$vpnid}"; - else { /* defaults to tun */ - $tunname = "tun{$vpnid}"; - } - + $tunname = "tun{$vpnid}"; if ($mode == "server") $devname = "ovpns{$vpnid}"; else |