aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-frame.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2004-11-28 20:52:52 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2004-11-28 20:52:52 +0000
commite6bd21584305c2348740d80c61ab3e838fd5896d (patch)
tree8ecb09b5a82eeda774694eb40f25bfcfb730ccc0 /epan/dissectors/packet-frame.c
parent87f0a56cbdc3a24404bbd498d10aa1ecbec3e6fe (diff)
From LEGO if Mate is pressent call it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12615 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-frame.c')
-rw-r--r--epan/dissectors/packet-frame.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-frame.c b/epan/dissectors/packet-frame.c
index 0a1e40e71f..29efbc76c5 100644
--- a/epan/dissectors/packet-frame.c
+++ b/epan/dissectors/packet-frame.c
@@ -57,6 +57,7 @@ static int frame_tap = -1;
static dissector_handle_t data_handle;
static dissector_handle_t docsis_handle;
+static dissector_handle_t mate_handle = NULL;
/* Preferences */
static gboolean show_file_off = FALSE;
@@ -198,6 +199,9 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ENDTRY;
tap_queue_packet(frame_tap, pinfo, NULL);
+
+ if (mate_handle) call_dissector(mate_handle,tvb, pinfo, tree);
+
}
void
@@ -339,4 +343,5 @@ proto_reg_handoff_frame(void)
{
data_handle = find_dissector("data");
docsis_handle = find_dissector("docsis");
+ mate_handle = find_dissector("mate");
}