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 */
}