summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-29 19:43:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-29 19:43:09 +0000
commit7a1f24e36e0fc3028e57426f0f3cd0cfa00f455d (patch)
treecee601a00c70d833aee204919721a267c7ec0c0b
parent398eabdea9bc32ae0a6290a5d63382533aaff5e5 (diff)
downloadpfsense-7a1f24e36e0fc3028e57426f0f3cd0cfa00f455d.zip
pfsense-7a1f24e36e0fc3028e57426f0f3cd0cfa00f455d.tar.gz
Ignore CarpDEV-DHCP interfaces during interface mismatch detection.
-rw-r--r--etc/inc/config.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 8dd34c1..3b509b2 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -2070,6 +2070,8 @@ function is_interface_mismatch() {
global $config, $g;
if(!$config['interfaces']['lan'])
return false;
+ if($config['interfaces']['wan']['ipaddr'] == "carpdev-dhcp")
+ return false;
$lan_if = $config['interfaces']['lan']['if'];
$wan_if = get_real_wan_interface();
$do_assign = 0;
@@ -2111,4 +2113,4 @@ function set_device_perms() {
if($g['booting']) echo ".";
$config = parse_config();
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud