aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bpdu.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-bpdu.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-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;