Add expert item to warn of AM data PDUs that don't have any data.

svn path=/trunk/; revision=28995
This commit is contained in:
Martin Mathieson 2009-07-07 17:07:24 +00:00
parent 4a3f420843
commit fd6bcf67a7
1 changed files with 5 additions and 1 deletions

View File

@ -960,7 +960,6 @@ static void dissect_rlc_lte_am(tvbuff_t *tvb, packet_info *pinfo,
col_append_fstr(pinfo->cinfo, COL_INFO, " SO=%u ", segmentOffset);
}
offset += 2;
}
@ -1008,6 +1007,11 @@ static void dissect_rlc_lte_am(tvbuff_t *tvb, packet_info *pinfo,
(s_number_of_extensions == 0) ? first_includes_start : TRUE,
last_includes_end);
}
else {
expert_add_info_format(pinfo, am_header_ti, PI_MALFORMED, PI_WARN,
"AM data PDU doesn't contain any data");
}
}