diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-09-20 13:51:20 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-09-20 13:51:20 +0000 |
commit | cea35dd83f6575723dc4e1240da93328041c6eb0 (patch) | |
tree | 8f9cb6fe7e3efc329666e160c0fb9e2cd0531483 | |
parent | 3b6139043733c6934581454f9accc35b467a36bb (diff) | |
download | pfsense-cea35dd83f6575723dc4e1240da93328041c6eb0.zip pfsense-cea35dd83f6575723dc4e1240da93328041c6eb0.tar.gz |
Seems that mtu and up parameters of ifconfig cannot be specified together, at least on lagg(4) case.
-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 3d487e1..cfc45c0 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -290,7 +290,8 @@ function interface_lagg_configure(&$lagg) { $realif = escapeshellarg($member); $mtu = get_interface_mtu($realif); /* make sure the parent interface is up */ - mwexec("/sbin/ifconfig {$realif} mtu {$mtu} up"); + mwexec("/sbin/ifconfig {$realif} mtu {$mtu}"); + mwexec("/sbin/ifconfig {$realif} up"); $cmd .= " laggport {$realif}"; } |