aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sap.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-sap.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-sap.c')
-rw-r--r--packet-sap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-sap.c b/packet-sap.c
index 8485a667bc..ec32bc0b1b 100644
--- a/packet-sap.c
+++ b/packet-sap.c
@@ -4,7 +4,7 @@
*
* Heikki Vatiainen <hessu@cs.tut.fi>
*
- * $Id: packet-sap.c,v 1.19 2001/01/25 06:14:14 guy Exp $
+ * $Id: packet-sap.c,v 1.20 2001/03/13 21:34:23 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -135,7 +135,7 @@ dissect_sap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
guint8 vers_flags;
guint8 auth_len;
guint16 tmp1;
- guint8 *addr;
+ const guint8 *addr;
guint8 auth_flags;
tvbuff_t *next_tvb;