mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
system: remove duplicate addresses before binding #2375
This commit is contained in:
parent
9374a0862a
commit
b2b926d7ad
@ -200,6 +200,9 @@ function openssh_configure_do($verbose = false, $interface = '')
|
||||
$listeners[] = $vip['subnet'];
|
||||
}
|
||||
}
|
||||
|
||||
/* VIPs may have been read twice */
|
||||
$listeners = array_unique($listeners);
|
||||
}
|
||||
|
||||
foreach ($listeners as $listener) {
|
||||
|
||||
@ -72,6 +72,9 @@ function webgui_configure_do($verbose = false, $interface = '')
|
||||
$listeners[] = $vip['subnet'];
|
||||
}
|
||||
}
|
||||
|
||||
/* VIPs may have been read twice */
|
||||
$listeners = array_unique($listeners);
|
||||
}
|
||||
|
||||
chdir('/usr/local/www');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user