mirror of
https://github.com/unraid/webgui.git
synced 2026-01-04 08:29:51 -06:00
Make sure to not show internal IP from stopped containers
This commit is contained in:
@@ -98,7 +98,7 @@ foreach ($containers as $ct) {
|
||||
}
|
||||
foreach($ct['Networks'] as $netName => $netVals) {
|
||||
$networks[] = $netName;
|
||||
$network_ips[] = $netVals['IPAddress'];
|
||||
$network_ips[] = $running ? $netVals['IPAddress'] : null;
|
||||
|
||||
if (isset($ct['Networks']['host'])) {
|
||||
$ports_external[] = sprintf('%s', $netVals['IPAddress']);
|
||||
|
||||
Reference in New Issue
Block a user