aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-05-12 18:11:02 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-05-12 18:11:02 +0000
commit85a8e304ddeb73c54ad7e86271d67543484645c9 (patch)
tree1cc041f936dcdb3e5e95946361b0c75f71cd31ac /epan/dissectors/packet-eap.c
parentf2ccdd6dbf1143374e62bc645a703870f2106719 (diff)
Add the posibillity to use a key for per-packet-data.
svn path=/trunk/; revision=49259
Diffstat (limited to 'epan/dissectors/packet-eap.c')
-rw-r--r--epan/dissectors/packet-eap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-eap.c b/epan/dissectors/packet-eap.c
index b8a1c47a58..6e67ac85d9 100644
--- a/epan/dissectors/packet-eap.c
+++ b/epan/dissectors/packet-eap.c
@@ -895,7 +895,7 @@ dissect_eap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
first pass through the capture.
*/
/* See if we have a remembered defragmentation EAP ID. */
- packet_state = (frame_state_t *)p_get_proto_data(pinfo->fd, proto_eap);
+ packet_state = (frame_state_t *)p_get_proto_data(pinfo->fd, proto_eap, 0);
if (packet_state == NULL) {
/*
* We haven't - does this message require reassembly?
@@ -958,7 +958,7 @@ dissect_eap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
*/
packet_state = se_new(frame_state_t);
packet_state->info = eap_reass_cookie;
- p_add_proto_data(pinfo->fd, proto_eap, packet_state);
+ p_add_proto_data(pinfo->fd, proto_eap, 0, packet_state);
}
}
} else {
@@ -1078,7 +1078,7 @@ dissect_eap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
/* This part is state-dependent. */
/* See if we've already remembered the state. */
- packet_state = (frame_state_t *)p_get_proto_data(pinfo->fd, proto_eap);
+ packet_state = (frame_state_t *)p_get_proto_data(pinfo->fd, proto_eap, 0);
if (packet_state == NULL) {
/*
* We haven't - compute the state based on the current
@@ -1099,7 +1099,7 @@ dissect_eap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
*/
packet_state = se_new(frame_state_t);
packet_state->info = leap_state;
- p_add_proto_data(pinfo->fd, proto_eap, packet_state);
+ p_add_proto_data(pinfo->fd, proto_eap, 0, packet_state);
/*
* Update the conversation's state.