aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee8023.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-01-16 16:06:15 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-01-16 16:06:15 +0000
commit1c9781b4ec6e907548bf144f04bd2de850c38b76 (patch)
treed5c476ab5cc45bb308d2bf464913b3d7805504c2 /epan/dissectors/packet-ieee8023.c
parent491ceb39058e9038aba4f35bae505f1af031a120 (diff)
throw the new FieldError exception, if a dissector tries to add a field with invalid parameters
add a message parameter to the show_exception function svn path=/trunk/; revision=13074
Diffstat (limited to 'epan/dissectors/packet-ieee8023.c')
-rw-r--r--epan/dissectors/packet-ieee8023.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee8023.c b/epan/dissectors/packet-ieee8023.c
index 5e8f98aa2d..55853d9d15 100644
--- a/epan/dissectors/packet-ieee8023.c
+++ b/epan/dissectors/packet-ieee8023.c
@@ -102,7 +102,7 @@ dissect_802_3(int length, gboolean is_802_2, tvbuff_t *tvb,
Show the exception, and then drive on to show the trailer,
restoring the protocol value that was in effect before we
called the subdissector. */
- show_exception(next_tvb, pinfo, tree, EXCEPT_CODE);
+ show_exception(next_tvb, pinfo, tree, EXCEPT_CODE, GET_MESSAGE);
pinfo->current_proto = saved_proto;
}
ENDTRY;