-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
| macadresser="`qcsapi_sockrpc get_station_mac_addr wifi0 $antal`;$macadresser" |
This command may fail if the number of macs change between the get_count_assoc and the get_station_mac_addr.
I added this in my version, to break the loop if the mac index is out of range:
mac=`qcsapi_sockrpc get_station_mac_addr wifi0 $antal`
if [ $? -ne 0 ]; then
break;
fi
macadresser="$mac;$macadresser"
Makes sense? I haven't actually seen it fail though...
Metadata
Metadata
Assignees
Labels
No labels