diff options
author | Michael Mann <mmann78@netscape.net> | 2013-07-03 02:59:31 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-07-03 02:59:31 +0000 |
commit | 98492c561948b8d08c8c39e61a6f2c8b31cb344f (patch) | |
tree | c87f8e4302c3e9172a21a320e9e9e56baa301b21 /epan/dissectors/packet-isakmp.c | |
parent | fdead4df94f6cd253c6768369805732f35a7d9e2 (diff) |
expert_add_info + proto_tree_add_text = proto_tree_add_expert, where applicable
svn path=/trunk/; revision=50337
Diffstat (limited to 'epan/dissectors/packet-isakmp.c')
-rw-r--r-- | epan/dissectors/packet-isakmp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c index 0457c66b17..7363cdd625 100644 --- a/epan/dissectors/packet-isakmp.c +++ b/epan/dissectors/packet-isakmp.c @@ -4605,9 +4605,7 @@ dissect_enc(tvbuff_t *tvb, * wrong encryption algorithm and/or authentication algorithm. */ if (encr_data_len <= 0) { - item = proto_tree_add_text(tree, tvb, offset, length, "Not enough data for IV, Encrypted data and ICD."); - expert_add_info(pinfo, item, &ei_isakmp_enc_iv); - PROTO_ITEM_SET_GENERATED(item); + proto_tree_add_expert(tree, pinfo, &ei_isakmp_enc_iv, tvb, offset, length); return; } |