diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-07 23:39:00 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-07 23:39:00 +0000 |
commit | fc14a7b7b9417543c2f5d1c0bd5c5a695f8aac2f (patch) | |
tree | 0ccb7de4c007f2f2b7bf3ff52505d755bbb8af0b /packet-isis-lsp.c | |
parent | 4942557be0ba41c27af5baf2e581d8dbf6b218ba (diff) |
Get rid of the unused hf_ value "hf_isis_hello_clv_restart".
Use the "tree_id" argument to "isis_dissect_mt_clv()" for the 2-byte MT
IDs, and arrange that the two hf_ values passed as that argument
actually be defined for protocol fields.
Fix the loop in "isis_dissect_mt_clv()" so that it actually catches an
odd byte at the end (i.e., loop until there is data at all, not until
there is 1 or fewer bytes), and put that odd byte, if it exists, into
the tree as a 1-byte text item, not a 2-byte text item.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5113 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-isis-lsp.c')
-rw-r--r-- | packet-isis-lsp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-isis-lsp.c b/packet-isis-lsp.c index f7c3866ebe..d5b9b72b58 100644 --- a/packet-isis-lsp.c +++ b/packet-isis-lsp.c @@ -1,7 +1,7 @@ /* packet-isis-lsp.c * Routines for decoding isis lsp packets and their CLVs * - * $Id: packet-isis-lsp.c,v 1.27 2002/04/07 22:36:55 guy Exp $ + * $Id: packet-isis-lsp.c,v 1.28 2002/04/07 23:39:00 guy Exp $ * Stuart Stanley <stuarts@mxmail.net> * * Ethereal - Network traffic analyzer @@ -1681,6 +1681,10 @@ isis_register_lsp(int proto_isis) { { &hf_isis_lsp_clv_te_router_id, { "Traffic Engineering Router ID", "isis.lsp.clv_te_router_id", FT_IPv4, BASE_NONE, NULL, 0x0, "", HFILL }}, + + { &hf_isis_lsp_clv_mt, + { "MT-ID ", "isis.lsp.clv_mt", + FT_UINT16, BASE_HEX, NULL, 0x0, "", HFILL }}, }; static gint *ett[] = { &ett_isis_lsp, |