aboutsummaryrefslogtreecommitdiffstats
path: root/packet-frame.c
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@physics.rutgers.edu>2001-04-01 21:12:05 +0000
committerEd Warnicke <hagbard@physics.rutgers.edu>2001-04-01 21:12:05 +0000
commit62e9875d34c9a5242806db8fe3729c3bcc26906e (patch)
treeee460f0ceb0b76010915664fa76fb2cd0fa4d2f8 /packet-frame.c
parent80f1da63b03c02e04b2ac98926737cafd0372c7b (diff)
Added a register_dissector() call in packet-frame.c so that frame is now
a registered dissector and can be called by call_dissector(). svn path=/trunk/; revision=3233
Diffstat (limited to 'packet-frame.c')
-rw-r--r--packet-frame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-frame.c b/packet-frame.c
index bd04a7de29..cd698e7280 100644
--- a/packet-frame.c
+++ b/packet-frame.c
@@ -2,7 +2,7 @@
*
* Top-most dissector. Decides dissector based on Wiretap Encapsulation Type.
*
- * $Id: packet-frame.c,v 1.6 2001/01/03 06:55:28 guy Exp $
+ * $Id: packet-frame.c,v 1.7 2001/04/01 21:12:05 hagbard Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -188,6 +188,7 @@ proto_register_frame(void)
proto_frame = proto_register_protocol("Frame", "Frame", "frame");
proto_register_field_array(proto_frame, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+ register_dissector("frame",dissect_frame,proto_frame);
/* You can't disable dissection of "Frame", as that would be
tantamount to not doing any dissection whatsoever. */