Merge pull request #2124 from bergware/master

Networking: fix duplicate metrics handling
This commit is contained in:
tom mortensen
2025-04-07 09:50:45 -07:00
committed by GitHub
3 changed files with 51 additions and 52 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ function scanWifi($port) {
// store MAC address only
$wlan[$network][0] = substr($wlan[$network][0],4,17);
// identify open network
$wlan[$network][4] = $wlan[$network][4] ?? 'open';
$wlan[$network][4] ??= 'open';
} else {
// group radio frequencies
$wlan[$network][1] .= ' '.$attr[1];