Skip to content

Commit

Permalink
Fix another var name
Browse files Browse the repository at this point in the history
- See issue #128.
  • Loading branch information
martignoni committed Dec 2, 2023
1 parent ee9b868 commit 24263be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions classes/local/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ public static function get_connected_ip_adresses($interface) {
// Compare the sorted MAC addresses and populate array of pairs.
$connectedmacippairs = [];
foreach ($iwmacadresses as $mac_address) {
if (isset($arpmacippairs[$mac_address])) {
$connectedmacippairs[$mac_address] = $arpmacippairs[$mac_address];
foreach ($iwmacadresses as $macaddress) {
if (isset($arpmacippairs[$macaddress])) {
$connectedmacippairs[$macaddress] = $arpmacippairs[$macaddress];
}
}
return $connectedmacippairs;
Expand Down

0 comments on commit 24263be

Please sign in to comment.