nfapi: fix typo, correct expert info message

assignmnet => assignment
update message to show its the length value in error

Change-Id: Ic320dafb00d4e6ceb7b3b7addaf2bff25739851f
Reviewed-on: https://code.wireshark.org/review/25089
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
This commit is contained in:
Graham Bloice 2017-12-31 16:36:46 +00:00
parent 771e581b94
commit 3c35f278b9
1 changed files with 1 additions and 1 deletions

View File

@ -4381,7 +4381,7 @@ static void dissect_dl_config_request_mpdpcch_pdu_rel13_value(ptvcursor_t * ptvc
item = ptvcursor_add_ret_uint(ptvc, hf_nfapi_downlink_assignment_index_length, 1, ENC_BIG_ENDIAN, &test_value);
if (!(test_value == 0 || test_value == 2 || test_value == 4))
{
expert_add_info_format(pinfo, item, &ei_invalid_range, "Invalid downlink assignmnet index value [0, 2, 4]");
expert_add_info_format(pinfo, item, &ei_invalid_range, "Invalid downlink assignment index length value [0, 2, 4]");
}
// Downlink assignment index