diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-09 02:04:35 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-09 02:04:35 +0000 |
commit | c7fbf7f8885c5f836d499cd551c02d339e5728bf (patch) | |
tree | 6de96027b197ed1ad14b17d7b4d3782c802e4b23 /packet-clnp.c | |
parent | 10843c0ddc6f4549b6dc6f3c2101b5044b52d0b8 (diff) | |
download | wireshark-c7fbf7f8885c5f836d499cd551c02d339e5728bf.tar.gz |
2^n is 1 << n, not 2 << n.
svn path=/trunk/; revision=4182
Diffstat (limited to 'packet-clnp.c')
-rw-r--r-- | packet-clnp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-clnp.c b/packet-clnp.c index b1594a6751..28857acf99 100644 --- a/packet-clnp.c +++ b/packet-clnp.c @@ -1,7 +1,7 @@ /* packet-clnp.c * Routines for ISO/OSI network and transport protocol packet disassembly * - * $Id: packet-clnp.c,v 1.35 2001/10/01 08:29:34 guy Exp $ + * $Id: packet-clnp.c,v 1.36 2001/11/09 02:04:35 guy Exp $ * Laurent Deniel <deniel@worldnet.fr> * Ralf Schneider <Ralf.Schneider@t-online.de> * @@ -532,7 +532,7 @@ static gboolean osi_decode_tp_var_part(tvbuff_t *tvb, int offset, case VP_TPDU_SIZE: c1 = tvb_get_guint8(tvb, offset) & 0x0F; proto_tree_add_text(tree, tvb, offset, length, - "TPDU size: %u", 2 << c1); + "TPDU size: %u", 1 << c1); offset += length; vp_length -= length; break; |