From cea35dd83f6575723dc4e1240da93328041c6eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Sat, 20 Sep 2008 13:51:20 +0000 Subject: [PATCH] Seems that mtu and up parameters of ifconfig cannot be specified together, at least on lagg(4) case. --- etc/inc/interfaces.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 3d487e14fb..cfc45c0028 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}"; }