diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-04-17 01:36:31 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-04-17 01:36:31 +0000 |
commit | 54442dac022959dc3db47a7d2049b8b7dff72cf8 (patch) | |
tree | 2b95800609466ab25693d0d772194d5a3c15a2a8 /packet-isis.c | |
parent | 9ec8de619bf2a0570bb182426fc772e6d34b8781 (diff) |
Register an "osinl" dissector table for ISO/IEC TR 9577 NLPID values,
and have dissectors for protocols that run at the OSI network layer
register themselves with it using "dissector_add()".
Make various dissectors static if they can be, and remove from header
files declarations of those dissectors.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1873 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-isis.c')
-rw-r--r-- | packet-isis.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packet-isis.c b/packet-isis.c index ef764fbeb2..81fd5b80ac 100644 --- a/packet-isis.c +++ b/packet-isis.c @@ -2,7 +2,7 @@ * Routines for ISO/OSI network and transport protocol packet disassembly, core * bits. * - * $Id: packet-isis.c,v 1.7 2000/04/15 22:11:11 guy Exp $ + * $Id: packet-isis.c,v 1.8 2000/04/17 01:36:31 guy Exp $ * Stuart Stanley <stuarts@mxmail.net> * * Ethereal - Network traffic analyzer @@ -131,7 +131,7 @@ isis_dissect_unknown(int offset,guint length,proto_tree *tree,frame_data *fd, * Output: * void, but we will add to the proto_tree if it is not NULL. */ -void +static void dissect_isis(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { isis_hdr_t *ihdr; @@ -309,3 +309,9 @@ proto_register_isis(void) { proto_register_field_array(proto_isis, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } + +void +proto_reg_handoff_isis(void) +{ + dissector_add("osinl", NLPID_ISO10589_ISIS, dissect_isis); +} |