diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-03 10:34:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-03 10:34:42 +0000 |
commit | b151ddecbb6800271e1cc2b8b0d2bb355dadbe89 (patch) | |
tree | b9e74ab80383b0add3d88c281308f9fb06f0b32e /packet-llc.c | |
parent | b92ebd4a23fb75f3972527609abd4f8360489805 (diff) |
Have the TR MAC and LLC dissectors register themselves, make them
static, and have other dissectors call them through handles.
svn path=/trunk/; revision=2816
Diffstat (limited to 'packet-llc.c')
-rw-r--r-- | packet-llc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-llc.c b/packet-llc.c index 54a1829f87..4d731e094d 100644 --- a/packet-llc.c +++ b/packet-llc.c @@ -2,7 +2,7 @@ * Routines for IEEE 802.2 LLC layer * Gilbert Ramirez <gram@xiexie.org> * - * $Id: packet-llc.c,v 1.74 2001/01/03 06:55:29 guy Exp $ + * $Id: packet-llc.c,v 1.75 2001/01/03 10:34:41 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -262,7 +262,7 @@ capture_llc(const u_char *pd, int offset, packet_counts *ld) { } } -void +static void dissect_llc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *llc_tree = NULL; @@ -475,6 +475,8 @@ proto_register_llc(void) /* subdissector code */ subdissector_table = register_dissector_table("llc.dsap"); cisco_subdissector_table = register_dissector_table("llc.cisco_pid"); + + register_dissector("llc", dissect_llc); } void |