mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-30 02:02:36 +00:00
Fixing firmware inheritance rules.
This commit is contained in:
@@ -79,8 +79,8 @@ namespace OpenWifi {
|
||||
}
|
||||
}
|
||||
|
||||
std::for_each(cbegin(SerialNumbers),cend(SerialNumbers),
|
||||
[&DeviceSerialNumbers](const std::string &S){ DeviceSerialNumbers.push_back(S); });
|
||||
for(const auto &i:SerialNumbers)
|
||||
DeviceSerialNumbers.push_back(i);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -450,7 +450,6 @@ addresscheck() {
|
||||
}
|
||||
|
||||
affecteddevices() {
|
||||
computedAffected
|
||||
curl ${FLAGS} -X GET "https://${OWPROV}/api/v1/configurations/${1}?computedAffected=true" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${token}" \
|
||||
@@ -500,6 +499,7 @@ case "$1" in
|
||||
"reloadsubsystem") login; reloadsubsystem "$2"; logout ;;
|
||||
"systeminfo") login; systeminfo ; logout;;
|
||||
"addresscheck") login; addresscheck; logout ;;
|
||||
"affecteddevices") login; affecteddevices "$2"; logout;;
|
||||
*) help ;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user