diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-09-25 22:21:09 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-09-25 22:21:09 +0200 |
commit | 55f499c9eb6d645d7a1e7ac14931123a1f1918e2 (patch) | |
tree | 5ac246bd5698ba9650e6b93a272d596198fbcecc /print-sl.c | |
parent | ebf60e3ccea089bc0d85d4e93bd1632597f54910 (diff) | |
download | tcpdump-55f499c9eb6d645d7a1e7ac14931123a1f1918e2.tar.gz |
SLIP: Remove printing the raw hex dump of the compressed header
ndo_nflag has not this function. We don't currently have an appropriate
flag for this use. Not sure printing the header in hex is currently useful.
Update the output of a test accordingly.
Diffstat (limited to 'print-sl.c')
-rw-r--r-- | print-sl.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -150,15 +150,6 @@ sliplink_print(netdissect_options *ndo, dir = -1; break; } - if (ndo->ndo_nflag) { - /* XXX just dump the header */ - int i; - - for (i = SLX_CHDR; i < SLX_CHDR + CHDR_LEN - 1; ++i) - ND_PRINT("%02x.", EXTRACT_U_1(p + i)); - ND_PRINT("%02x: ", EXTRACT_U_1(p + SLX_CHDR + CHDR_LEN - 1)); - return 0; - } switch (EXTRACT_U_1(p + SLX_CHDR) & 0xf0) { case TYPE_IP: |