mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Initialize $interface_channels to silence PHPEclipse
This commit is contained in:
parent
2b9747b910
commit
4b0e71db2d
@ -1519,6 +1519,7 @@ function get_wireless_modes($interface)
|
||||
$stack_list = "$awk -F\"Channel \" '{print \$2 \"\\\n\" \$3 }'";
|
||||
$format_list = "$awk '{print \$5 \" \" \$6 \",\" \$1}'";
|
||||
|
||||
$interface_channels = "";
|
||||
exec("$chan_list | $stack_list | sort -u | $format_list 2>&1", $interface_channels);
|
||||
$interface_channel_count = count($interface_channels);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user