- MMS server: fixed bug in delete variable list service - scope of delete was not considered optional

v1.2
Michael Zillgith 7 years ago
parent 1fcf7f25fa
commit db28db570e

@ -130,8 +130,9 @@ mmsServer_handleDeleteNamedVariableListRequest(MmsServerConnection connection,
request = &(mmsPdu->choice.confirmedRequestPdu.confirmedServiceRequest.choice.deleteNamedVariableList); request = &(mmsPdu->choice.confirmedRequestPdu.confirmedServiceRequest.choice.deleteNamedVariableList);
long scopeOfDelete; long scopeOfDelete = DeleteNamedVariableListRequest__scopeOfDelete_specific;
if (request->scopeOfDelete)
asn_INTEGER2long(request->scopeOfDelete, &scopeOfDelete); asn_INTEGER2long(request->scopeOfDelete, &scopeOfDelete);
MmsDevice* device = MmsServer_getDevice(connection->server); MmsDevice* device = MmsServer_getDevice(connection->server);

Loading…
Cancel
Save