Trivial: add direction to expert info string for CRC failures.

svn path=/trunk/; revision=29802
This commit is contained in:
Martin Mathieson 2009-09-08 17:13:55 +00:00
parent 443f384fef
commit 4c1be31824
1 changed files with 2 additions and 1 deletions

View File

@ -1629,7 +1629,8 @@ void dissect_mac_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
PROTO_ITEM_SET_GENERATED(ti);
if (p_mac_lte_info->crcStatus != TRUE) {
expert_add_info_format(pinfo, ti, PI_MALFORMED, PI_ERROR,
"Frame has CRC error");
"%s Frame has CRC error",
(p_mac_lte_info->direction == DIRECTION_UPLINK) ? "UL" : "DL");
col_append_fstr(pinfo->cinfo, COL_INFO, "%s: <CRC FAILURE> on %s %u ",
(p_mac_lte_info->direction == DIRECTION_UPLINK) ? "UL" : "DL",
val_to_str(p_mac_lte_info->rntiType, rnti_type_vals,