summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-03-07 12:04:26 +0000
committerErmal <eri@pfsense.org>2013-03-07 12:04:26 +0000
commite17e1b8a40e979e9faf81bc908c7ef98077b0e84 (patch)
tree188804b0559f93fb84979dc7c7775c23c2287053 /etc
parent694f2b7214d505275b4cb23706e02a3711df330d (diff)
downloadpfsense-e17e1b8a40e979e9faf81bc908c7ef98077b0e84.zip
pfsense-e17e1b8a40e979e9faf81bc908c7ef98077b0e84.tar.gz
Skip vlan checks for being configured vlan as well
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 92cbd98..d443b6e 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2910,6 +2910,8 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
foreach ($config['vlans']['vlan'] as $vlan) {
if ($vlan['if'] != $realhwif)
continue;
+ if ($vlan['vlanif'] == $realif)
+ continue;
$assginedport = convert_real_interface_to_friendly_interface_name($vlan['vlanif']);
if (!empty($assginedport)) {
$portmtu = $config['interfaces'][$assginedport]['mtu'];
OpenPOWER on IntegriCloud