summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-07-25 21:12:53 +0000
committerErmal Luçi <eri@pfsense.org>2008-07-25 21:12:53 +0000
commita98b8669427ce4dbb96a7e49bcb16161f99bf4f5 (patch)
treefbf268244bfbe1cf99decd4c93b226fbdf11ca96
parentfe2810195d825c7fb894454f4ac1fcfe5e13479d (diff)
downloadpfsense-a98b8669427ce4dbb96a7e49bcb16161f99bf4f5.zip
pfsense-a98b8669427ce4dbb96a7e49bcb16161f99bf4f5.tar.gz
Lagg needs all mtus to be the same as the first member.
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 81cebad..b70540d 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -288,8 +288,9 @@ function interface_lagg_configure(&$lagg) {
if (!array_key_exists($member, $checklist))
continue;
$realif = escapeshellarg($member);
+ $mtu = get_interface_mtu($realif);
/* make sure the parent interface is up */
- mwexec("/sbin/ifconfig {$realif} up");
+ mwexec("/sbin/ifconfig {$realif} mtu {$mtu} up");
$cmd .= " laggport {$realif}";
}
OpenPOWER on IntegriCloud