summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-07-27 01:12:44 +0000
committerGuy Harris <guy@alum.mit.edu>2005-07-27 01:12:44 +0000
commitd05a356383de174d9ddb48d342ec72aac9a030dc (patch)
tree2537e8996e7579708e4f20f7fbaa7e1b11b31aa9 /epan
parent9b56028ade5092f8d0a551a6d23a2323e30d78d5 (diff)
downloadwireshark-d05a356383de174d9ddb48d342ec72aac9a030dc.tar.gz
Squelch another const warning.
svn path=/trunk/; revision=15111
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c
index 3f836d1f05..4409a56a72 100644
--- a/epan/dissectors/packet-ip.c
+++ b/epan/dissectors/packet-ip.c
@@ -686,7 +686,7 @@ dissect_ip_tcp_options(tvbuff_t *tvb, int offset, guint length,
const ip_tcp_opt *optp;
opt_len_type len_type;
unsigned int optlen;
- char *name;
+ const char *name;
char name_str[7+1+1+2+2+1+1]; /* "Unknown (0x%02x)" */
void (*dissect)(const struct ip_tcp_opt *, tvbuff_t *,
int, guint, packet_info *, proto_tree *);