aboutsummaryrefslogtreecommitdiffstats
path: root/packet-vtp.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-vtp.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-vtp.c')
-rw-r--r--packet-vtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-vtp.c b/packet-vtp.c
index 460698b0f3..a7b1fc4c25 100644
--- a/packet-vtp.c
+++ b/packet-vtp.c
@@ -1,7 +1,7 @@
/* packet-vtp.c
* Routines for the disassembly of Cisco's Virtual Trunking Protocol
*
- * $Id: packet-vtp.c,v 1.12 2001/02/05 02:47:31 guy Exp $
+ * $Id: packet-vtp.c,v 1.13 2001/03/13 21:34:24 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -99,7 +99,7 @@ dissect_vtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
int offset = 0;
guint8 code;
guint8 md_len;
- guint8 *upd_timestamp;
+ const guint8 *upd_timestamp;
int vlan_info_len;
if (check_col(pinfo->fd, COL_PROTOCOL))