woww: Add comment field to CMSG_GMSURVEY_SUBMIT

This commit is contained in:
Gtker 2022-10-16 18:41:29 +02:00 committed by Alexis La Goutte
parent 1996a520ec
commit 25403e9f15
1 changed files with 8 additions and 0 deletions

View File

@ -247,6 +247,7 @@ static int hf_woww_client_proof = -1;
static int hf_woww_client_seed = -1;
static int hf_woww_code = -1;
static int hf_woww_coded = -1;
static int hf_woww_comment = -1;
static int hf_woww_compressed_chat_data = -1;
static int hf_woww_container_slots = -1;
static int hf_woww_content = -1;
@ -9948,6 +9949,7 @@ add_body_fields(guint32 opcode,
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "GmSurveyQuestion");
ptvcursor_add(ptv, hf_woww_question_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_answer, 1, ENC_LITTLE_ENDIAN);
add_cstring(ptv, &hf_woww_comment);
ptvcursor_pop_subtree(ptv);
}
add_cstring(ptv, &hf_woww_answer_comment);
@ -16388,6 +16390,12 @@ proto_register_woww(void)
NULL, HFILL
}
},
{ &hf_woww_comment,
{ "Comment", "woww.comment",
FT_STRINGZ, BASE_NONE, NULL, 0,
NULL, HFILL
}
},
{ &hf_woww_compressed_chat_data,
{ "Compressed Chat Data", "woww.compressed.chat.data",
FT_BYTES, BASE_NONE, NULL, 0,