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-vines.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-vines.c')
-rw-r--r-- | packet-vines.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-vines.c b/packet-vines.c index ecf4106039..31dc1fa5f5 100644 --- a/packet-vines.c +++ b/packet-vines.c @@ -1,7 +1,7 @@ /* packet-vines.c * Routines for Banyan VINES protocol packet disassembly * - * $Id: packet-vines.c,v 1.24 2001/02/04 10:29:49 guy Exp $ + * $Id: packet-vines.c,v 1.25 2001/03/13 21:34:24 gram Exp $ * * Don Lafontaine <lafont02@cn.ca> * @@ -199,7 +199,7 @@ dissect_vines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *vip_tree; proto_item *ti; /* gchar tos_str[32]; */ - guint8 *dst_addr, *src_addr; + const guint8 *dst_addr, *src_addr; int is_broadcast = 0; int hops = 0; tvbuff_t *next_tvb; |