aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-http.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-http.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-http.c')
-rw-r--r--epan/dissectors/packet-http.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c
index 721b085fb0..430ab5e3b5 100644
--- a/epan/dissectors/packet-http.c
+++ b/epan/dissectors/packet-http.c
@@ -640,7 +640,7 @@ static void push_req(http_conv_t *conv_data, packet_info *pinfo)
req_res->req_framenum = pinfo->fd->num;
req_res->req_ts = pinfo->fd->abs_ts;
- p_add_proto_data(pinfo->fd, proto_http, req_res);
+ p_add_proto_data(pinfo->fd, proto_http, 0, req_res);
}
/**
@@ -659,7 +659,7 @@ static void push_res(http_conv_t *conv_data, packet_info *pinfo)
req_res = push_req_res(conv_data);
}
req_res->res_framenum = pinfo->fd->num;
- p_add_proto_data(pinfo->fd, proto_http, req_res);
+ p_add_proto_data(pinfo->fd, proto_http, 0, req_res);
}
/*
@@ -1018,7 +1018,7 @@ dissect_http_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
if (tree) {
proto_item *pi;
- http_req_res_t *curr = (http_req_res_t *)p_get_proto_data(pinfo->fd, proto_http);
+ http_req_res_t *curr = (http_req_res_t *)p_get_proto_data(pinfo->fd, proto_http, 0);
http_req_res_t *prev = curr ? curr->prev : NULL;
http_req_res_t *next = curr ? curr->next : NULL;