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-sll.c | |
parent | d820905672fc2bbac7c609c1628e22dcbb3e2827 (diff) | |
download | wireshark-5664e5887f4da905f94035556eb232611796cee2.tar.gz wireshark-5664e5887f4da905f94035556eb232611796cee2.tar.bz2 wireshark-5664e5887f4da905f94035556eb232611796cee2.zip |
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-sll.c')
-rw-r--r-- | packet-sll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-sll.c b/packet-sll.c index 1dbf75b2ef..62ba3fab7c 100644 --- a/packet-sll.c +++ b/packet-sll.c @@ -1,7 +1,7 @@ /* packet-sll.c * Routines for disassembly of packets from Linux "cooked mode" captures * - * $Id: packet-sll.c,v 1.7 2001/01/21 22:51:46 guy Exp $ + * $Id: packet-sll.c,v 1.8 2001/03/13 21:34:23 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -136,7 +136,7 @@ dissect_sll(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint16 pkttype; guint16 protocol; guint16 hatype, halen; - guint8 *src; + const guint8 *src; proto_item *ti; tvbuff_t *next_tvb; proto_tree *fh_tree = NULL; |