]> The Tcpdump Group git mirrors - tcpdump/commitdiff
CONTRIBUTING.md: Update about 'struct tok' usage
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 23 May 2023 14:43:22 +0000 (16:43 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 23 May 2023 14:46:23 +0000 (16:46 +0200)
[skip ci]

CONTRIBUTING.md

index 77f180e40584b6bbcadfbc6eb391664493fba761..67ce034b6d32747b75c87e3ea54f755c909d72a3 100644 (file)
@@ -202,6 +202,7 @@ and ask!
 
 *  Use `struct tok` for indexed strings and print them with
    `tok2str()` or `bittok2str()` (for flags).
+   All `struct tok` must end with `{ 0, NULL }`.
 
 *  Avoid empty lines in output of printers.