aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-alcap.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-03-07 04:33:46 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-03-07 04:33:46 +0000
commit0cfdbc3676c49f5d0415653094453ed378085c86 (patch)
treeea91d012e003982c67be4ae2a6f3e90bb1d13e5a /epan/dissectors/packet-alcap.c
parent6e04b0aadbd2c731eb9a2abf7cac6fffae2b4c34 (diff)
- contsify a variable in packet-alcap.c to see if a fake bug reported by coverty goes away.
- fix an off by one error in packet-telnet.c reported by coverty svn path=/trunk/; revision=17487
Diffstat (limited to 'epan/dissectors/packet-alcap.c')
-rw-r--r--epan/dissectors/packet-alcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-alcap.c b/epan/dissectors/packet-alcap.c
index 1f1e6b340d..303f846965 100644
--- a/epan/dissectors/packet-alcap.c
+++ b/epan/dissectors/packet-alcap.c
@@ -1373,7 +1373,7 @@ static void dissect_alcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
int offset;
proto_item* pi;
proto_tree* compat_tree;
- alcap_msg_type_info_t* msg_type;
+ const alcap_msg_type_info_t* msg_type;
if (check_col(pinfo->cinfo, COL_PROTOCOL))
col_set_str(pinfo->cinfo, COL_PROTOCOL, alcap_proto_name_short);