aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2015-11-12 17:39:39 -0800
committerAnders Broman <a.broman58@gmail.com>2015-11-13 07:33:17 +0000
commitb01cd398f9efdff485e1658265a1c2046d6c0b94 (patch)
tree1331eac23ec46f488b31fd131bea1ae750757b4c
parentaa94bbedfe92b040f528192dd66be085a1bbacc1 (diff)
Diameter: Expand an error message.
If we encounter the wrong ftype, print its name. Change-Id: I7405ccdd3e099f533c6a8aaf81b60faf4093741a Reviewed-on: https://code.wireshark.org/review/11790 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-diameter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-diameter.c b/epan/dissectors/packet-diameter.c
index 5118c31ed6..b131ee0047 100644
--- a/epan/dissectors/packet-diameter.c
+++ b/epan/dissectors/packet-diameter.c
@@ -1721,8 +1721,8 @@ build_simple_avp(const avp_type_t *type, guint32 code, diam_vnd_t *vendor,
break;
default:
- report_failure("Diameter Dictionary: AVP '%s' has a list of values but isn't of a 32-bit or shorter integral type\n",
- name);
+ report_failure("Diameter Dictionary: AVP '%s' has a list of values but isn't of a 32-bit or shorter integral type (%s)\n",
+ name, ftype_name(type->ft));
return NULL;
}
while (vs[i].strptr) {