diff options
author | Herwin Weststrate <herwin@quarantainenet.nl> | 2018-05-11 14:30:52 +0200 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2018-05-17 22:23:24 +0100 |
commit | 1433720f401c99d71732e5a5f87260fd95e68eb9 (patch) | |
tree | fce216e45838d6713210a42d249bdfd1e7368dae /CONTRIBUTING | |
parent | 15ad3908591046dc5eecde31fcec78506c6ddcb9 (diff) | |
download | tcpdump-1433720f401c99d71732e5a5f87260fd95e68eb9.tar.gz |
Fix truncation checks in CONTRIBUTING
Diffstat (limited to 'CONTRIBUTING')
-rw-r--r-- | CONTRIBUTING | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING b/CONTRIBUTING index 8dabecd4..e9cca575 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -126,7 +126,7 @@ d) The printer may receive incomplete packet in the buffer, truncated at any For ND_TCHECK_LEN: Define : static const char tstr[] = " [|protocol]"; Define a label: trunc - Print with: ND_PRINT("%s", tstr); + Print with: nd_print_trunc(ndo); You can test the code via: sudo ./tcpdump -s snaplen [-v][v][...] -i lo # in a terminal sudo tcpreplay -i lo sample.pcap # in another terminal |