]> The Tcpdump Group git mirrors - tcpdump/blobdiff - CONTRIBUTING
ICMPv6: Add the IPv6-Only flag
[tcpdump] / CONTRIBUTING
index fae4c7393f03f680fa6d292ac81d0f40115ad9dd..4e94d645ee5cea356be6769b631f416d642b6bd5 100644 (file)
@@ -148,8 +148,8 @@ d) The printer may receive incomplete packet in the buffer, truncated at any
 e) Do invalid packet checks in code: Think that your code can receive in input
    not only a valid packet but any arbitrary random sequence of octets (packet
    - built malformed originally by the sender or by a fuzz tester,
-   - became corrupted in transit).
-   Print with: ND_PRINT("%s", istr);   /* to print " (invalid)" */
+   - became corrupted in transit or for some other reason).
+   Print with: nd_print_invalid(ndo);  /* to print " (invalid)" */
 
 f) Use 'struct tok' for indexed strings and print them with
    tok2str() or bittok2str() (for flags).