summaryrefslogtreecommitdiffstats
path: root/etc/inc/util.inc
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-03-29 20:03:55 +0700
committergnhb <gnoahb@gmail.com>2010-03-29 20:03:55 +0700
commitc90f247117ace2af4e072e7004e1750875e568ff (patch)
tree9ffc5d18ff5358ff09854d6170474f8dcb836d86 /etc/inc/util.inc
parenta216a03a00166350c22162f1e0da03927e23af10 (diff)
downloadpfsense-c90f247117ace2af4e072e7004e1750875e568ff.zip
pfsense-c90f247117ace2af4e072e7004e1750875e568ff.tar.gz
Changes to make PPP work again. mpd5 fails to establish a ppp link without
*some* username and password, so defaults are set if user enters nothing. Removed interface_ppp_configure call from interfaces_ppp_edit.php. It was useless there with the new structure, and it caused all PPP links to attempt to connect when user presses "Save" even before they are assigned to LAN/WAN, etc. Also, fix up pfsense-utils.inc and status_interfaces.php to display more info on status_interfaces.php. Changed util.inc to allow cua* interfaces to be recognized as real interfaces as pfSense got "interface mismatch" at boot and forced user to reassign. Maybe someone else has a better way to do this.
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r--etc/inc/util.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 584beb3..3c61b6c 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|^tun|^ppp|^pptp|^pppoe|^ovpn|^gif|^gre|^lagg|^bridge|vlan|_wlan/i", $ifcfg['if'])) {
+ if (preg_match("/^enc|^cua|^ppp|^pptp|^pppoe|^ovpn|^gif|^gre|^lagg|^bridge|vlan|_wlan/i", $ifcfg['if'])) {
$i++;
}
else if (does_interface_exist($ifcfg['if']) == false) {
OpenPOWER on IntegriCloud