diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-07 18:52:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-07 18:52:27 +0000 |
commit | 95a095a1c4e3ebe13aba234fff2a7a0ddca4efec (patch) | |
tree | a54e0748236fec04b6290c03cb51cd9f1dad6e54 /packet-isis-lsp.c | |
parent | dad31088e2ac37c7837b544c1ed4ca823846537a (diff) |
From Chenjiang Hu: use the correct offset when fetching unreserved
bandwidth values.
svn path=/trunk/; revision=5414
Diffstat (limited to 'packet-isis-lsp.c')
-rw-r--r-- | packet-isis-lsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-isis-lsp.c b/packet-isis-lsp.c index d5dc180873..5951d4a611 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.30 2002/05/02 10:13:56 guy Exp $ + * $Id: packet-isis-lsp.c,v 1.31 2002/05/07 18:52:26 guy Exp $ * Stuart Stanley <stuarts@mxmail.net> * * Ethereal - Network traffic analyzer @@ -1187,7 +1187,7 @@ dissect_subclv_unrsv_bw(tvbuff_t *tvb, proto_tree *tree, int offset) ntree = proto_item_add_subtree (ti, ett_isis_lsp_subclv_unrsv_bw); for (i = 0 ; i < 8 ; i++) { - bw = tvb_get_ntohieee_float(tvb, offset);; + bw = tvb_get_ntohieee_float(tvb, offset+4*i); proto_tree_add_text (ntree, tvb, offset+4*i, 4, "priority level %d: %.2f Mbps", i, bw*8/1000000 ); } |