aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rip.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-13 21:34:28 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-13 21:34:28 +0000
commitc3d4b76f3576cb73fdb23fc3921948c5a3375c08 (patch)
treed7075be8e004cc316e2e87d695012482960173ae /packet-rip.c
parentd0da3fd014e054d71ac079fffbf1f04e3de89f53 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3128 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rip.c')
-rw-r--r--packet-rip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-rip.c b/packet-rip.c
index 38ce10a988..7723a09828 100644
--- a/packet-rip.c
+++ b/packet-rip.c
@@ -2,7 +2,7 @@
* Routines for RIPv1 and RIPv2 packet disassembly
* (c) Copyright Hannes R. Boehm <hannes@boehm.org>
*
- * $Id: packet-rip.c,v 1.23 2001/01/22 08:03:45 guy Exp $
+ * $Id: packet-rip.c,v 1.24 2001/03/13 21:34:23 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -140,7 +140,7 @@ dissect_ip_rip_vektor(tvbuff_t *tvb, int offset, guint8 version,
{
proto_item *ti;
proto_tree *rip_vektor_tree;
- guint8 *ip;
+ const guint8 *ip;
guint32 metric;
ip = tvb_get_ptr(tvb, offset+4, 4);