mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
interfaces: same for lagg here
This commit is contained in:
parent
bc7a646aef
commit
e6d2cbef47
@ -481,7 +481,7 @@ function interfaces_lagg_configure($verbose = false)
|
||||
}
|
||||
|
||||
foreach ($config['laggs']['lagg'] as $lagg) {
|
||||
interface_lagg_configure($lagg);
|
||||
_interfaces_lagg_configure($lagg);
|
||||
}
|
||||
|
||||
if ($verbose) {
|
||||
@ -489,7 +489,7 @@ function interfaces_lagg_configure($verbose = false)
|
||||
}
|
||||
}
|
||||
|
||||
function interface_lagg_configure($lagg)
|
||||
function _interfaces_lagg_configure($lagg)
|
||||
{
|
||||
if (empty($lagg['members'])) {
|
||||
/* XXX really necessary? we would like our LAGG anyway */
|
||||
|
||||
@ -166,7 +166,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$a_laggs[] = $lagg;
|
||||
}
|
||||
write_config();
|
||||
interface_lagg_configure($lagg);
|
||||
_interfaces_lagg_configure($lagg);
|
||||
$confif = convert_real_interface_to_friendly_interface_name($lagg['laggif']);
|
||||
if ($confif != '') {
|
||||
interface_configure(false, $confif);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user