aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-frame.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2004-11-28 20:52:52 +0000
committerAnders Broman <anders.broman@ericsson.com>2004-11-28 20:52:52 +0000
commitd607cdb1e42678e81bd53cf1b7ec8fc5516b3718 (patch)
tree8ecb09b5a82eeda774694eb40f25bfcfb730ccc0 /epan/dissectors/packet-frame.c
parentd7f54a23e8ea55be337636af845a5045eb72851b (diff)
From LEGO if Mate is pressent call it.
svn path=/trunk/; revision=12615
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");
}