line |
true |
false |
branch |
14
|
0 |
0 |
if $params{'no_category'}{'network'} |
33
|
0 |
0 |
if isSameNetwork($default, $interface->{'IPADDRESS'}, $interface->{'IPMASK'}) |
67
|
0 |
0 |
unless $handle |
73
|
0 |
0 |
if ($line =~ /^(\S+):/) |
75
|
0 |
0 |
if $interface |
83
|
0 |
0 |
if ($line =~ /inet ($FusionInventory::Agent::Task::Inventory::MacOS::Networks::ip_address_pattern)/) |
86
|
0 |
0 |
if ($line =~ /inet6 (\S+)/) |
93
|
0 |
0 |
if ($line =~ /netmask 0x($FusionInventory::Agent::Task::Inventory::MacOS::Networks::hex_ip_address_pattern)/) |
96
|
0 |
0 |
if ($line =~ /(?:address:|ether|lladdr) ($FusionInventory::Agent::Task::Inventory::MacOS::Networks::mac_address_pattern)/) |
99
|
0 |
0 |
if ($line =~ /mtu (\S+)/) |
102
|
0 |
0 |
if ($line =~ /media (\S+)/) |
105
|
0 |
0 |
if ($line =~ /status:\s+active/i) |
108
|
0 |
0 |
if ($line =~ /supported\smedia:/) |
115
|
0 |
0 |
if $interface |