#include <stdio.h>
#include <string.h>
+#include "netdissect-ctype.h"
+
#include "netdissect.h"
#include "extract.h"
#include "nfsfh.h"
#endif
/* Save the actual handle, so it can be display with -u */
for (i = 0; i < len*4 && i*2 < sizeof(fsidp->Opaque_Handle) - 1; i++)
- (void)nd_snprintf(&(fsidp->Opaque_Handle[i*2]), 3, "%.2X",
+ (void)snprintf(&(fsidp->Opaque_Handle[i*2]), 3, "%.2X",
GET_U_1(fhp + i));
fsidp->Opaque_Handle[i*2] = '\0';
return(0);
for (i = 1; i < 14; i++) {
- if (ND_ISPRINT(GET_U_1(fhp + i))) {
+ if (ND_ASCII_ISPRINT(GET_U_1(fhp + i))) {
if (seen_null)
return(0);
else