aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-http.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-04-06 12:10:30 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2014-04-06 10:18:15 +0000
commit828bb24226fe8b6b6b98e37c11bf03097b383d4f (patch)
tree36385b180d6a503d6eee4bdbcb545d889e3adee3 /epan/dissectors/packet-http.c
parenta90dfcb325b6c6ea3e8a10ca1c3f4f6d41750c02 (diff)
Partly revert fdeed480bf89a1f43f7b3d4be67fa0e4333f7120
wmem_packet_scope() cannot be used outside of a packet treatment Change-Id: I6e545bbb51f325b366288f17358f9d2347a7d7c4 Reviewed-on: https://code.wireshark.org/review/977 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-http.c')
-rw-r--r--epan/dissectors/packet-http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c
index 44cc406bb5..5463d22bac 100644
--- a/epan/dissectors/packet-http.c
+++ b/epan/dissectors/packet-http.c
@@ -414,7 +414,7 @@ http_reqs_stats_tree_packet(stats_tree* st, packet_info* pinfo, epan_dissect_t*
if (v->request_method) {
- ip_str = address_to_str(wmem_packet_scope(), &pinfo->dst);
+ ip_str = ep_address_to_str(&pinfo->dst);
tick_stat_node(st, st_str_reqs, 0, FALSE);
tick_stat_node(st, st_str_reqs_by_srv_addr, st_node_reqs, TRUE);
@@ -431,7 +431,7 @@ http_reqs_stats_tree_packet(stats_tree* st, packet_info* pinfo, epan_dissect_t*
return 1;
} else if (i != 0) {
- ip_str = address_to_str(wmem_packet_scope(), &pinfo->src);
+ ip_str = ep_address_to_str(&pinfo->src);
tick_stat_node(st, st_str_resps_by_srv_addr, 0, FALSE);
resps_by_this_addr = tick_stat_node(st, ip_str, st_node_resps_by_srv_addr, TRUE);