diff options
author | Ermal <eri@pfsense.org> | 2010-03-29 14:57:56 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-29 14:57:56 +0000 |
commit | 1d4aca27fee6970e2a614a08cb22d5942fc7fc94 (patch) | |
tree | fcb497accdd0bb9b606044353de8cbce6cb9ff8c /etc | |
parent | c64d5028932d6dd025599d872c50f9c658d21dfd (diff) | |
download | pfsense-1d4aca27fee6970e2a614a08cb22d5942fc7fc94.zip pfsense-1d4aca27fee6970e2a614a08cb22d5942fc7fc94.tar.gz |
Restore tun interface because it is still used by openvpn.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 3c61b6c..02bed2c 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -1117,7 +1117,7 @@ function is_interface_mismatch() { $do_assign = false; $i = 0; foreach ($config['interfaces'] as $ifname => $ifcfg) { - if (preg_match("/^enc|^cua|^ppp|^pptp|^pppoe|^ovpn|^gif|^gre|^lagg|^bridge|vlan|_wlan/i", $ifcfg['if'])) { + if (preg_match("/^enc|^cua|^tun||^pptp|^ppp|^ovpn|^gif|^gre|^lagg|^bridge|vlan|_wlan/i", $ifcfg['if'])) { $i++; } else if (does_interface_exist($ifcfg['if']) == false) { |