diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-05-09 19:32:05 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-05-10 11:05:59 +0200 |
commit | 25687e1a312a3bb63a6e8d7f0af0210a615e24a8 (patch) | |
tree | bd625058a963602f9571587f5345e58f30b07f43 /CMakeLists.txt | |
parent | 2b5ab9ae73292ee9e0cc01b86e127d9079a78fb2 (diff) | |
download | tcpdump-25687e1a312a3bb63a6e8d7f0af0210a615e24a8.tar.gz |
Print packets for unsupported link-layer protocols in hexadecimal/ASCII
This avoids to get only:
tcpdump: packet printing is not supported for link type XYZ: use -w
The default printing is like:
18:45:52.723872 UNSUPPORTED
0x0000: 001f 0000 0540 6078 725d 586d 4d66 4671 .....@`xr]XmMfFq
0x0010: 6d58 4d5c 7159 5f71 565c 556c 4e71 7171 mXM\qY_qV\UlNqqq
0x0020: 7171 7171 7171 7171 7171 7171 7171 5180 qqqqqqqqqqqqqqQ.
0x0030: 7f7f ..
18:45:52.755995 UNSUPPORTED
0x0000: 001f 0000 0540 6043 7851 807f 7f .....@`CxQ...
[...]
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 832f20c7..4ea6deca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1077,6 +1077,7 @@ set(NETDISSECT_SOURCE_LIST_C print-token.c print-udld.c print-udp.c + print-unsupported.c print-usb.c print-vjc.c print-vqp.c |