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

@ -11,7 +11,7 @@ struct cw_strlist_elem capwap_strings_result[] = {
{CW_RESULT_IMAGE_DATA_ERROR,"Image Data Error (Unspecified)"}, /* 16 */
{CW_RESULT_MSG_INVALID_IN_CURRENT_STATE,"Message unexpected (Invalid in current state)"}, /* 18 */
{CW_RESULT_MISSING_MAND_ELEM,"Missing Mandatory Message Element"}, /* 20 */
{CW_RESULT_UNRECOGNIZED_MESSAGE_ELEMENT,"Unrecognized Message Element"}, /* 21 */
{CW_STR_STOP,"Unknown Result Code"}
};