diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-03-13 21:34:28 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-03-13 21:34:28 +0000 |
commit | 5664e5887f4da905f94035556eb232611796cee2 (patch) | |
tree | d7075be8e004cc316e2e87d695012482960173ae /packet-clnp.c | |
parent | d820905672fc2bbac7c609c1628e22dcbb3e2827 (diff) |
Make tvb_get_ptr() return 'const guint8*', and clean up all the
usages of tvb_get_ptr(). packet-ieee80211.c still has one bad usage,
in which it *does* modify the tvbuff's data.
svn path=/trunk/; revision=3128
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 8e38581350..22157aa32b 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.24 2001/01/22 08:03:44 guy Exp $ + * $Id: packet-clnp.c,v 1.25 2001/03/13 21:34:23 gram Exp $ * Laurent Deniel <deniel@worldnet.fr> * Ralf Schneider <Ralf.Schneider@t-online.de> * @@ -1565,7 +1565,7 @@ static void dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint16 cnf_cksum; int offset; u_char src_len, dst_len, nsel, opt_len = 0; - guint8 *dst_addr, *src_addr; + const guint8 *dst_addr, *src_addr; guint len; guint next_length; proto_tree *discpdu_tree; |