]> The Tcpdump Group git mirrors - tcpdump/blobdiff - smbutil.c
Default to first interface from pcap_findalldevs()
[tcpdump] / smbutil.c
index e6114fa37330a0be518dc6ffc511cfc6de478636..b38d73afbce32a7cf0086a5c3928d02168af9146 100644 (file)
--- 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);