aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bpdu.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-bpdu.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-bpdu.c')
-rw-r--r--packet-bpdu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-bpdu.c b/packet-bpdu.c
index 4849d503b7..b2b2081629 100644
--- a/packet-bpdu.c
+++ b/packet-bpdu.c
@@ -1,7 +1,7 @@
/* packet-bpdu.c
* Routines for BPDU (Spanning Tree Protocol) disassembly
*
- * $Id: packet-bpdu.c,v 1.23 2001/02/08 07:32:11 guy Exp $
+ * $Id: packet-bpdu.c,v 1.24 2001/03/13 21:34:23 gram Exp $
*
* Copyright 1999 Christophe Tronche <ch.tronche@computer.org>
*
@@ -86,11 +86,11 @@ dissect_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
guint8 bpdu_type;
guint8 flags;
guint16 root_identifier_bridge_priority;
- guint8 *root_identifier_mac;
+ const guint8 *root_identifier_mac;
gchar *root_identifier_mac_str;
guint32 root_path_cost;
guint16 bridge_identifier_bridge_priority;
- guint8 *bridge_identifier_mac;
+ const guint8 *bridge_identifier_mac;
gchar *bridge_identifier_mac_str;
guint16 port_identifier;
double message_age;