diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-06-06 17:00:47 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-06-06 17:01:52 -0400 |
commit | 0edee281f8658b3481a56246c9795f1c57675aef (patch) | |
tree | ad1b0f298fa191bf9e4a63abe1b328d3c16edefe /etc | |
parent | e1a65ede0fee0e086229063678d812b475d4b1ae (diff) | |
download | pfsense-0edee281f8658b3481a56246c9795f1c57675aef.zip pfsense-0edee281f8658b3481a56246c9795f1c57675aef.tar.gz |
Exclude ppp from interface mismatch check
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 834ff9c..485c09b 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1839,7 +1839,10 @@ function is_interface_mismatch() { $wan_if = get_real_wan_interface(); $do_assign = 0; /* we need to ignore the vlan interface checks) */ - if (stristr($lan_if, "vlan") == false and stristr($wan_if, "vlan") == false) { + if (stristr($lan_if, "ppp") == false and + stristr($lan_if, "vlan") == false and + stristr($wan_if, "vlan") == false and + stristr($wan_if, "ppp") == false) { if (does_interface_exist($lan_if) == false) $do_assign = 1; if ($config['interfaces']['wan']['ipaddr'] <> "pppoe" && $config['interfaces']['wan']['ipaddr'] <> "pptp" && $do_assign == 0) |