]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-cdp.c
Replace the (void)nd_printn(..., NULL) calls by nd_printjn() calls
[tcpdump] / print-cdp.c
index 9f5c24bca6bd375aa3431ac287a46f282e85d61b..157e5ed5fa2ae605ee07e6854002f3ed0a0ed507 100644 (file)
@@ -69,7 +69,7 @@ cdp_print_string(netdissect_options *ndo,
                  const u_char *cp, const u_int len)
 {
        ND_PRINT("'");
-       (void)nd_printn(ndo, cp, len, NULL);
+       nd_printjn(ndo, cp, len);
        ND_PRINT("'");
 }
 
@@ -178,7 +178,7 @@ cdp_print_phys_loc(netdissect_options *ndo,
        ND_PRINT("0x%02x", GET_U_1(cp));
        if (len > 1) {
                ND_PRINT("/");
-               (void)nd_printn(ndo, cp + 1, len - 1, NULL);
+               nd_printjn(ndo, cp + 1, len - 1);
        }
 }