diff options
author | Ermal LUÇI <eri@pfsense.org> | 2014-11-26 20:57:40 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2014-11-26 20:57:40 +0100 |
commit | 383f20a1c379139f88b6feeb8cedc711f5b6392f (patch) | |
tree | 22f7d57373333398e1936c08918baa028c61f807 /etc/inc/interfaces.inc | |
parent | 7bc73d5ee373393f464cc1fe819f4fab7478b01d (diff) | |
download | pfsense-383f20a1c379139f88b6feeb8cedc711f5b6392f.zip pfsense-383f20a1c379139f88b6feeb8cedc711f5b6392f.tar.gz |
Actually get the correct value here!
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 33f25c5..1bc4527 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2770,7 +2770,7 @@ function interface_vlan_mtu_configured($realhwif, $mtu) { $assignedport = convert_real_interface_to_friendly_interface_name($vlan['vlanif']); if (!empty($assignedport) && !empty($config['interfaces'][$assignedport]['mtu'])) { if (intval($config['interfaces'][$assignedport]['mtu']) > $mtu) - $mtu = $portmtu; + $mtu = $config['interfaces'][$assignedport]['mtu']; } } } |