]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-decnet.c
When discussing the "gateway" keyword, don't say that the host must be
[tcpdump] / print-decnet.c
index 6f8facce5c602aac2caf226e51a920c7c0db504d..bb5f075f801d2745a531424906a6ed04e5f743c0 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-decnet.c,v 1.31 2001-01-20 07:22:24 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-decnet.c,v 1.32 2001-01-28 08:06:06 itojun Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -768,10 +768,7 @@ pdata(u_char *dp, u_int maxlen)
 
        while (x-- > 0) {
            c = *dp++;
-           if (isprint(c))
-               putchar(c);
-           else
-               printf("\\%o", c & 0xFF);
+           safeputchar(c);
        }
 }
 #endif