diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2021-01-08 16:09:41 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2021-01-08 16:09:41 +0100 |
commit | 90ddb17d272bbe39dccc08f7b109077b73996fee (patch) | |
tree | 6f4375bb7e78e13d60c3d1423d526bbc6ac1f3ed /print-olsr.c | |
parent | 234546a8e7cc63a4ba368d222d0846a1e7690b85 (diff) | |
download | tcpdump-90ddb17d272bbe39dccc08f7b109077b73996fee.tar.gz |
Add a nd_printjn() function
It prints a counted filename (or other ASCII string), part of
the packet buffer, filtering out non-printable characters.
Stop if truncated (via GET_U_1/longjmp) or after n bytes,
whichever is first.
The suffix comes from: j:longJmp, n:after N bytes.
Diffstat (limited to 'print-olsr.c')
0 files changed, 0 insertions, 0 deletions