diff options
author | Ermal LUÇI <eri@pfsense.org> | 2014-11-26 20:54:41 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2014-11-26 20:54:41 +0100 |
commit | 7bc73d5ee373393f464cc1fe819f4fab7478b01d (patch) | |
tree | 8cf02f7ef9ca8821b31e6ba738877e01ae09c99f /etc/inc/interfaces.inc | |
parent | 3e8035da840cae0382e101ecf08b2be76b48760f (diff) | |
download | pfsense-7bc73d5ee373393f464cc1fe819f4fab7478b01d.zip pfsense-7bc73d5ee373393f464cc1fe819f4fab7478b01d.tar.gz |
Actually consider parentmtu 0 here to get the real value when unassgined
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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); |