diff options
author | Ermal <eri@pfsense.org> | 2013-03-07 13:17:49 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-03-07 13:18:08 +0000 |
commit | 6696d2cd139cf438d8235bcf38c94fa846429a2f (patch) | |
tree | 4447a3348a9841a8821af577da8e205d460737b0 /etc | |
parent | c9e33dd3aafdb9377fe1179a34890c47c36ae8b6 (diff) | |
download | pfsense-6696d2cd139cf438d8235bcf38c94fa846429a2f.zip pfsense-6696d2cd139cf438d8235bcf38c94fa846429a2f.tar.gz |
Change parent only if its mtu is smaller
Diffstat (limited to 'etc')
-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 d443b6e..df602a5 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2922,7 +2922,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven } } } - } else if ($wancfg['mtu'] != get_interface_mtu($realhwif)) + } else if ($wancfg['mtu'] > get_interface_mtu($realhwif)) pfSense_interface_mtu($realhwif, $wancfg['mtu']); } if ($wancfg['mtu'] != get_interface_mtu($realif)) |