aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sna.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-03-13 21:34:28 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-03-13 21:34:28 +0000
commit5664e5887f4da905f94035556eb232611796cee2 (patch)
treed7075be8e004cc316e2e87d695012482960173ae /packet-sna.c
parentd820905672fc2bbac7c609c1628e22dcbb3e2827 (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-sna.c')
-rw-r--r--packet-sna.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-sna.c b/packet-sna.c
index b36f0e9664..5aa5ea8926 100644
--- a/packet-sna.c
+++ b/packet-sna.c
@@ -2,7 +2,7 @@
* Routines for SNA
* Gilbert Ramirez <gram@xiexie.org>
*
- * $Id: packet-sna.c,v 1.25 2001/01/25 06:14:14 guy Exp $
+ * $Id: packet-sna.c,v 1.26 2001/03/13 21:34:24 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -416,7 +416,7 @@ dissect_fid0_1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *bf_tree;
proto_item *bf_item;
guint8 th_0;
- guint8 *ptr;
+ const guint8 *ptr;
const int bytes_in_header = 10;
@@ -471,7 +471,7 @@ dissect_fid2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *bf_tree;
proto_item *bf_item;
guint8 th_0=0, daf=0, oaf=0;
- guint8 *ptr;
+ const guint8 *ptr;
const int bytes_in_header = 6;