mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Set up proto before members.
This commit is contained in:
parent
94be2ccf4d
commit
35b402b5e6
@ -301,13 +301,12 @@ function interface_lagg_configure(&$lagg) {
|
||||
} else
|
||||
$laggif = exec("/sbin/ifconfig lagg create");
|
||||
|
||||
return -1;
|
||||
|
||||
mwexec("/sbin/ifconfig {$laggif} {$lagg['proto']}");
|
||||
|
||||
/* Add interfaces to lagg */
|
||||
mwexec("/sbin/ifconfig {$laggif} {$cmd}");
|
||||
|
||||
mwexec("/sbin/ifconfig {$laggif} {$lagg['proto']}");
|
||||
|
||||
mwexec("/sbin/ifconfig {$laggif} up");
|
||||
|
||||
return $laggif;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user