diff options
Diffstat (limited to 'epan/dissectors/packet-clnp.c')
-rw-r--r-- | epan/dissectors/packet-clnp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-clnp.c b/epan/dissectors/packet-clnp.c index a216a506d6..ade326d76b 100644 --- a/epan/dissectors/packet-clnp.c +++ b/epan/dissectors/packet-clnp.c @@ -272,7 +272,7 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (cnf_hdr_len < FIXED_PART_LEN) { /* Header length is less than the length of the fixed part of the header. */ - expert_add_info_format_text(pinfo, ti_len, &ei_clnp_length, + expert_add_info_format(pinfo, ti_len, &ei_clnp_length, "Header length value < minimum length %u", FIXED_PART_LEN); return; @@ -320,7 +320,7 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) segment_length); if (segment_length < cnf_hdr_len) { /* Segment length is less than the header length. */ - expert_add_info_format_text(pinfo, ti_pdu_len, &ei_clnp_length, + expert_add_info_format(pinfo, ti_pdu_len, &ei_clnp_length, "PDU length < header length %u", cnf_hdr_len); return; } @@ -371,7 +371,7 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (opt_len < 1) { /* Header length is less than the minimum value in CLNP, including the destination address length. */ - expert_add_info_format_text(pinfo, ti_len, &ei_clnp_length, + expert_add_info_format(pinfo, ti_len, &ei_clnp_length, "Header length value < %u", FIXED_PART_LEN + 1); return; @@ -388,7 +388,7 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Header length is less than the minimum value, including the destination address length and the destination address. */ - expert_add_info_format_text(pinfo, ti_len, &ei_clnp_length, + expert_add_info_format(pinfo, ti_len, &ei_clnp_length, "Header length value < %u", FIXED_PART_LEN + 1 + dst_len); return; @@ -408,7 +408,7 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Header length is less than the minimum value, including the destination address length, the destination address, and the source address length. */ - expert_add_info_format_text(pinfo, ti_len, &ei_clnp_length, + expert_add_info_format(pinfo, ti_len, &ei_clnp_length, "Header length value < %u", FIXED_PART_LEN + 1 + dst_len + 1); return; @@ -426,7 +426,7 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) including the destination address length, the destination address, the source address length, and the source address. */ - expert_add_info_format_text(pinfo, ti_len, &ei_clnp_length, + expert_add_info_format(pinfo, ti_len, &ei_clnp_length, "Header length value < %u", FIXED_PART_LEN + 1 + dst_len + 1 + src_len); return; @@ -451,7 +451,7 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) including the destination address length, the destination address, the source address length, the source address, and the segmentation part. */ - expert_add_info_format_text(pinfo, ti_len, &ei_clnp_length, + expert_add_info_format(pinfo, ti_len, &ei_clnp_length, "Header length value < %u", FIXED_PART_LEN + 1 + dst_len + 1 + SEGMENTATION_PART_LEN); return; @@ -470,7 +470,7 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) total_length); if (total_length < segment_length) { /* Reassembled length is less than the length of this segment. */ - expert_add_info_format_text(pinfo, ti_tot_len, &ei_clnp_length, + expert_add_info_format(pinfo, ti_tot_len, &ei_clnp_length, "Total length < segment length %u", segment_length); return; } |