mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
Skip tentative IPv6 addresses for binding of webgui
IPv6 addresses might be tentative. lighttpd will fail when trying to bind to a tentative address. This commit skips tentative IPv6 addresses for binding.
This commit is contained in:
parent
c8a44c0607
commit
bd3faedadb
@ -83,7 +83,7 @@ function webgui_configure_do($verbose = false, $interface = '')
|
||||
$listeners = count($interfaces) ? [] : ['0.0.0.0', '::'];
|
||||
|
||||
foreach (interfaces_addresses($interfaces) as $tmpaddr => $info) {
|
||||
if (!$info['bind']) {
|
||||
if (!$info['bind'] || ($info['family'] == 'inet6' && $info['tentative'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user