mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
network_functions: fix _get_wireless_status function
the function has returned the number of lines instead of the output itself. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -360,7 +360,7 @@ sub _get_wireless_status($) {
|
||||
my $intf = shift;
|
||||
|
||||
if (!$wireless_status{$intf}) {
|
||||
$wireless_status{$intf} = &General::system_output("iwconfig", "$intf");
|
||||
$wireless_status{$intf} = join('\n', &General::system_output("iwconfig", "$intf"));
|
||||
}
|
||||
|
||||
return $wireless_status{$intf};
|
||||
|
||||
Reference in New Issue
Block a user