In strict mode messages with unknown elements are now rejected.

FossilOrigin-Name: b94b0107e8abfbe9074e34243918018afe0df89e44042a48ed0b100220504850
This commit is contained in:
7u83@mail.ru
2016-03-06 20:50:01 +00:00
parent 5567ba34d3
commit 49745425d4
3 changed files with 15 additions and 4 deletions

View File

@ -575,10 +575,10 @@ extern int cw_readelem_vendor_specific_payload(void *data, int msgtype, int elem
#define CW_RESULT_MSG_UNRECOGNIZED 19
#define CW_RESULT_MISSING_MAND_ELEM 20
/*
21 Failure - Unrecognized Message Element
22 Data Transfer Error (No Information to Transfer)
#define CW_RESULT_UNRECOGNIZED_MESSAGE_ELEMENT 21
/* 22 Data Transfer Error (No Information to Transfer)
*/