Fixing firmware inheritance rules.

This commit is contained in:
stephb9959
2021-10-27 14:48:00 -07:00
parent 66649d821e
commit aa2fdde298
2 changed files with 3 additions and 3 deletions

View File

@@ -79,8 +79,8 @@ namespace OpenWifi {
} }
} }
std::for_each(cbegin(SerialNumbers),cend(SerialNumbers), for(const auto &i:SerialNumbers)
[&DeviceSerialNumbers](const std::string &S){ DeviceSerialNumbers.push_back(S); }); DeviceSerialNumbers.push_back(i);
return true; return true;
} }

View File

@@ -450,7 +450,6 @@ addresscheck() {
} }
affecteddevices() { affecteddevices() {
computedAffected
curl ${FLAGS} -X GET "https://${OWPROV}/api/v1/configurations/${1}?computedAffected=true" \ curl ${FLAGS} -X GET "https://${OWPROV}/api/v1/configurations/${1}?computedAffected=true" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-H "Authorization: Bearer ${token}" \ -H "Authorization: Bearer ${token}" \
@@ -500,6 +499,7 @@ case "$1" in
"reloadsubsystem") login; reloadsubsystem "$2"; logout ;; "reloadsubsystem") login; reloadsubsystem "$2"; logout ;;
"systeminfo") login; systeminfo ; logout;; "systeminfo") login; systeminfo ; logout;;
"addresscheck") login; addresscheck; logout ;; "addresscheck") login; addresscheck; logout ;;
"affecteddevices") login; affecteddevices "$2"; logout;;
*) help ;; *) help ;;
esac esac