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

pull/72/head
Michael Zillgith 7 years ago
parent 58b4d6c107
commit 3f07176dc3

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

Loading…
Cancel
Save