aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eth.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-24 01:36:44 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-24 01:36:44 +0000
commit7879c6848fa353160686826c4d604878b4d92643 (patch)
treea0222da2d48282b527dcd4811e27755c3262f295 /packet-eth.c
parent7b06f1814fe01fd7cba6cec2156cfaa43702fc70 (diff)
"tvb_get_ptr()" returns a "const guint8 *"; make the pointers to which
you assign its return value pointers to "const" as well. svn path=/trunk/; revision=8229
Diffstat (limited to 'packet-eth.c')
-rw-r--r--packet-eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-eth.c b/packet-eth.c
index c6627e3639..d1025f318e 100644
--- a/packet-eth.c
+++ b/packet-eth.c
@@ -1,7 +1,7 @@
/* packet-eth.c
* Routines for ethernet packet disassembly
*
- * $Id: packet-eth.c,v 1.81 2003/08/23 09:09:32 sahlberg Exp $
+ * $Id: packet-eth.c,v 1.82 2003/08/24 01:36:44 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -162,7 +162,7 @@ dissect_eth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
eth_hdr *ehdr;
volatile gboolean is_802_2;
proto_tree *volatile fh_tree = NULL;
- char *src_addr, *dst_addr;
+ const char *src_addr, *dst_addr;
static eth_hdr ehdrs[4];
static int ehdr_num=0;