Seems that mtu and up parameters of ifconfig cannot be specified together, at least on lagg(4) case.

This commit is contained in:
Ermal Luçi 2008-09-20 13:51:20 +00:00
parent 3b61390437
commit cea35dd83f

View File

@ -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}";
}