summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-11-26 20:54:41 +0100
committerErmal LUÇI <eri@pfsense.org>2014-11-26 20:54:41 +0100
commit7bc73d5ee373393f464cc1fe819f4fab7478b01d (patch)
tree8cf02f7ef9ca8821b31e6ba738877e01ae09c99f /etc/inc
parent3e8035da840cae0382e101ecf08b2be76b48760f (diff)
downloadpfsense-7bc73d5ee373393f464cc1fe819f4fab7478b01d.zip
pfsense-7bc73d5ee373393f464cc1fe819f4fab7478b01d.tar.gz
Actually consider parentmtu 0 here to get the real value when unassgined
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e9b8f6e..33f25c5 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3001,7 +3001,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
if ($wancfg['mtu'] > $parentmtu)
log_error("There is a conflict on MTU between parent {$realhwif} and VLAN({$realif})");
} else
- $parentmtu = get_interface_mtu($realhwif);
+ $parentmtu = 0;
$parentmtu = interface_vlan_mtu_configured($realhwif, $parentmtu);
OpenPOWER on IntegriCloud