diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-07-25 21:12:53 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-07-25 21:12:53 +0000 |
commit | a98b8669427ce4dbb96a7e49bcb16161f99bf4f5 (patch) | |
tree | fbf268244bfbe1cf99decd4c93b226fbdf11ca96 /etc | |
parent | fe2810195d825c7fb894454f4ac1fcfe5e13479d (diff) | |
download | pfsense-a98b8669427ce4dbb96a7e49bcb16161f99bf4f5.zip pfsense-a98b8669427ce4dbb96a7e49bcb16161f99bf4f5.tar.gz |
Lagg needs all mtus to be the same as the first member.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 3 |
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}"; } |