aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hpteam.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-19 12:05:00 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-19 19:05:23 +0000
commit08a318a4dfb6c2f907c15c3574ef547403d1dec5 (patch)
tree5d5d92e76653d90b9e1145f71bb697fe6b32d1d7 /epan/dissectors/packet-hpteam.c
parent46ecf18fbdb6f02b1748ca72bd5e6ecf0e6c0886 (diff)
Those address_to_str() calls were in packet scope, and were safe.
Change-Id: Ic727eca800a1b8972cf1a09cf2cf4ef8cfe4d0ba Reviewed-on: https://code.wireshark.org/review/2439 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-hpteam.c')
-rw-r--r--epan/dissectors/packet-hpteam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hpteam.c b/epan/dissectors/packet-hpteam.c
index 8ce21effed..219e5cb0f2 100644
--- a/epan/dissectors/packet-hpteam.c
+++ b/epan/dissectors/packet-hpteam.c
@@ -91,7 +91,7 @@ dissect_hpteam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_PROTOCOL, "HP NIC Team");
col_add_fstr(pinfo->cinfo, COL_INFO, "HP NIC Teaming Heartbeat; Port MAC = %s",
- ep_address_to_str(&pinfo->dl_src));
+ address_to_str(wmem_packet_scope(), &pinfo->dl_src));
if (tree) { /* we are being asked for details */
proto_item *hpteam_item;