diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-03-13 21:34:28 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-03-13 21:34:28 +0000 |
commit | c3d4b76f3576cb73fdb23fc3921948c5a3375c08 (patch) | |
tree | d7075be8e004cc316e2e87d695012482960173ae /packet-zebra.c | |
parent | d0da3fd014e054d71ac079fffbf1f04e3de89f53 (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-zebra.c')
-rw-r--r-- | packet-zebra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-zebra.c b/packet-zebra.c index 424e761c68..33b194ea85 100644 --- a/packet-zebra.c +++ b/packet-zebra.c @@ -3,7 +3,7 @@ * * Jochen Friedrich <jochen@scram.de> * - * $Id: packet-zebra.c,v 1.9 2001/01/22 08:03:46 guy Exp $ + * $Id: packet-zebra.c,v 1.10 2001/03/13 21:34:24 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -198,7 +198,7 @@ dissect_zebra_request(proto_tree *tree, gboolean request, tvbuff_t *tvb, guint32 prefix4; guint16 i; guint8 buffer6[16], prefixlen, message; - guint8 *prefix; + const guint8 *prefix; proto_item *ti; proto_tree *msg_tree; |