aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-smb.c')
-rw-r--r--epan/dissectors/packet-smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c
index 09f1b2a30f..3a98e40766 100644
--- a/epan/dissectors/packet-smb.c
+++ b/epan/dissectors/packet-smb.c
@@ -987,9 +987,9 @@ const gchar *tree_ip_str(packet_info *pinfo, guint16 cmd) {
if ( cmd == SMB_COM_READ_ANDX ||
cmd == SMB_COM_READ ||
cmd == SMB2_COM_READ) {
- buf = ip_to_str((const guint8 *)pinfo->src.data);
+ buf = address_to_str(wmem_packet_scope(), &pinfo->src);
} else {
- buf = ip_to_str((const guint8 *)pinfo->dst.data);
+ buf = address_to_str(wmem_packet_scope(), &pinfo->dst);
}
} else {
if ( cmd == SMB_COM_READ_ANDX ||