]> The Tcpdump Group git mirrors - tcpdump/blobdiff - parsenfsfh.c
bgp: Parse BGP extended message support capability
[tcpdump] / parsenfsfh.c
index b3f54900cc0527424fa86da47512a3f1bdd14c46..cd9436992d7762156439b99578cc85e663cd1e66 100644 (file)
@@ -49,6 +49,8 @@
 #include <stdio.h>
 #include <string.h>
 
+#include "netdissect-ctype.h"
+
 #include "netdissect.h"
 #include "extract.h"
 #include "nfsfh.h"
@@ -442,7 +444,7 @@ is_UCX(netdissect_options *ndo, const unsigned char *fhp, u_int len)
                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