network-functions.pl: Use new system methods

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2021-05-20 19:50:01 +02:00
committed by Michael Tremer
parent 17ee1f135f
commit f3e3cb371d

View File

@@ -360,7 +360,7 @@ sub _get_wireless_status($) {
my $intf = shift;
if (!$wireless_status{$intf}) {
$wireless_status{$intf} = `iwconfig $intf`;
$wireless_status{$intf} = &General::system_output("iwconfig", "$intf");
}
return $wireless_status{$intf};