From: Francois-Xavier Le Bail Date: Tue, 23 May 2023 14:43:22 +0000 (+0200) Subject: CONTRIBUTING.md: Update about 'struct tok' usage X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/f6b74c5cf2324e097d4627b273bb6163b03291a7 CONTRIBUTING.md: Update about 'struct tok' usage [skip ci] --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 77f180e4..67ce034b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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.