diff options
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index a5f647c..c682fb8 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -457,7 +457,7 @@ function interface_bridge_configure(&$bridge) { $realif = get_real_interface($member); $opts = pfSense_get_interface_addresses($realif); $mtu = $opts['mtu']; - if (substr($realif, 0, 3) == "gif" && $mtu < 1500) + if (substr($realif, 0, 3) == "gif" && $mtu <= 1500) continue; if (!isset($opts['encaps']['txcsum'])) $commontx = false; @@ -624,7 +624,7 @@ function interface_bridge_add_member($bridgeif, $interface) { $mtu = get_interface_mtu($brigeif); $mtum = get_interface_mtu($interface); - if ($mtu != $mtum) + if ($mtu != $mtum && substr($interface, 0, 3) == "gif" && $mtu <= 1500) pfSense_interface_mtu($interface, $mtu); $options = pfSense_get_interface_addresses($bridgeif); |