]> The Tcpdump Group git mirrors - tcpdump/blobdiff - util-print.c
On Solaris, for 64-bit builds, use the 64-bit pcap-config.
[tcpdump] / util-print.c
index 641078c06773f59f731cb9e9ff69751ddc12cce7..d65f026608a72a5b262d435a6b60b2736eddfdaa 100644 (file)
@@ -456,14 +456,14 @@ void nd_print_invalid(netdissect_options *ndo)
 
 int
 print_unknown_data(netdissect_options *ndo, const u_char *cp,
-                   const char *ident, u_int len)
+                   const char *indent, u_int len)
 {
        if (!ND_TTEST_LEN(cp, 0)) {
                ND_PRINT("%sDissector error: %s() called with pointer past end of packet",
-                   ident, __func__);
+                   indent, __func__);
                return(0);
        }
-       hex_print(ndo, ident, cp, ND_MIN(len, ND_BYTES_AVAILABLE_AFTER(cp)));
+       hex_print(ndo, indent, cp, ND_MIN(len, ND_BYTES_AVAILABLE_AFTER(cp)));
        return(1); /* everything is ok */
 }