summaryrefslogtreecommitdiff
path: root/smbutil.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-09-18 13:04:24 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-09-18 13:04:24 +0200
commit817bdfede2894481cbd3f94549eb2da58b57cc51 (patch)
tree2ce53084caad31e85981d5c4abbf8e9c09748720 /smbutil.c
parenteab273ebc5761e6fb8d208b5d500652b35852be1 (diff)
downloadtcpdump-817bdfede2894481cbd3f94549eb2da58b57cc51.tar.gz
Rename print_data() to smb_print_data()
Diffstat (limited to 'smbutil.c')
-rw-r--r--smbutil.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/smbutil.c b/smbutil.c
index e6114fa3..b38d73af 100644
--- a/smbutil.c
+++ b/smbutil.c
@@ -271,8 +271,7 @@ name_type_str(int name_type)
}
void
-print_data(netdissect_options *ndo,
- const unsigned char *buf, int len)
+smb_print_data(netdissect_options *ndo, const unsigned char *buf, int len)
{
int i = 0;
@@ -860,7 +859,7 @@ smb_fdata(netdissect_options *ndo,
if (!depth && buf < maxbuf) {
size_t len = PTR_DIFF(maxbuf, buf);
ND_PRINT((ndo, "Data: (%lu bytes)\n", (unsigned long)len));
- print_data(ndo, buf, len);
+ smb_print_data(ndo, buf, len);
return(buf + len);
}
return(buf);