diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-05-29 19:43:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-05-29 19:43:09 +0000 |
commit | 7a1f24e36e0fc3028e57426f0f3cd0cfa00f455d (patch) | |
tree | cee601a00c70d833aee204919721a267c7ec0c0b | |
parent | 398eabdea9bc32ae0a6290a5d63382533aaff5e5 (diff) | |
download | pfsense-7a1f24e36e0fc3028e57426f0f3cd0cfa00f455d.zip pfsense-7a1f24e36e0fc3028e57426f0f3cd0cfa00f455d.tar.gz |
Ignore CarpDEV-DHCP interfaces during interface mismatch detection.
-rw-r--r-- | etc/inc/config.inc | 4 |
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 |