mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Check interfaces with no address
This commit is contained in:
@@ -5,7 +5,7 @@ sub get_iface_status
|
||||
{
|
||||
return { 'up' => -1 } if (!&foreign_check("net"));
|
||||
&foreign_require("net", "net-lib.pl");
|
||||
local @act = &net::active_interfaces();
|
||||
local @act = &net::active_interfaces(1);
|
||||
local $a;
|
||||
foreach $a (@act) {
|
||||
if ($a->{'fullname'} eq $_[0]->{'iface'} &&
|
||||
|
||||
Reference in New Issue
Block a user