summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-11-26 20:57:40 +0100
committerErmal LUÇI <eri@pfsense.org>2014-11-26 20:57:40 +0100
commit383f20a1c379139f88b6feeb8cedc711f5b6392f (patch)
tree22f7d57373333398e1936c08918baa028c61f807 /etc/inc/interfaces.inc
parent7bc73d5ee373393f464cc1fe819f4fab7478b01d (diff)
downloadpfsense-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.inc2
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'];
}
}
}
OpenPOWER on IntegriCloud