aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-05-21 16:40:15 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-05-21 16:40:15 +0000
commit9312b4db34ae550c8ec37b3060e446e036527c6f (patch)
treeb5169cbf476e5b32f55e429495c10ca6af75f5c7 /epan/packet.c
parent3696addcc10011ddaf591f600dc66c3be1ef0a6b (diff)
Add missing have_postdissector(); (Hopefully what was intended).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25342 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/packet.c')
-rw-r--r--epan/packet.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/packet.c b/epan/packet.c
index 07f201a2c8..c2db651a76 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -1865,6 +1865,11 @@ void register_postdissector(dissector_handle_t handle) {
num_of_postdissectors++;
}
+boolean
+have_postdissector() {
+ return (num_of_postdissectors > 0);
+}
+
extern void call_all_postdissectors(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
guint i;
for(i=0;i<num_of_postdissectors;i++) {