aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-glbp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-09-09 00:44:09 +0000
committerMichael Mann <mmann78@netscape.net>2013-09-09 00:44:09 +0000
commit9e3f9b449f5c25ad7266bdef972212e9f29114f7 (patch)
tree3762c7a432cf733a8abb7fdf22fb338b8a36eab7 /epan/dissectors/packet-glbp.c
parent00dd0adc0d737aba2ba41bd1dd0ce830a94c815e (diff)
expert_add_info_format_text -> expert_add_info_format
svn path=/trunk/; revision=51852
Diffstat (limited to 'epan/dissectors/packet-glbp.c')
-rw-r--r--epan/dissectors/packet-glbp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-glbp.c b/epan/dissectors/packet-glbp.c
index 570321b6c1..054cdbf795 100644
--- a/epan/dissectors/packet-glbp.c
+++ b/epan/dissectors/packet-glbp.c
@@ -202,7 +202,7 @@ dissect_glbp_hello(tvbuff_t *tvb, int offset,
switch (addrtype) {
case 1:
if (addrlen != 4) {
- expert_add_info_format_text(pinfo, NULL, &ei_glbp_ipv4_wrong_length,
+ expert_add_info_format(pinfo, NULL, &ei_glbp_ipv4_wrong_length,
"Wrong IPv4 address length: %u", addrlen);
return offset + addrlen;
}
@@ -210,7 +210,7 @@ dissect_glbp_hello(tvbuff_t *tvb, int offset,
break;
case 2:
if (addrlen != 16) {
- expert_add_info_format_text(pinfo, NULL, &ei_glbp_ipv6_wrong_length,
+ expert_add_info_format(pinfo, NULL, &ei_glbp_ipv6_wrong_length,
"Wrong IPv6 address length: %u", addrlen);
return offset + addrlen;
}
@@ -333,7 +333,7 @@ dissect_glbp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
type = tvb_get_guint8(tvb, offset);
length = tvb_get_guint8(tvb, offset+1);
if (length < 2) {
- expert_add_info_format_text(pinfo, NULL, &ei_glbp_tlv_length_too_small,
+ expert_add_info_format(pinfo, NULL, &ei_glbp_tlv_length_too_small,
"Length %u too small", length);
return offset;
}