diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-02 14:56:12 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-02 20:52:22 +0100 |
commit | e83dfd9b161eeb2bde1a42b5e3f2fc83639d54f3 (patch) | |
tree | 15fa846fd58436649c3e6ca5410ac4f86ce89ecd /print-sl.c | |
parent | 2d20acd7420ab5b8d90f9921185a506a3a2f1c4a (diff) | |
download | tcpdump-e83dfd9b161eeb2bde1a42b5e3f2fc83639d54f3.tar.gz |
Simplify some expressions
This will also help some future scripted code updates.
Diffstat (limited to 'print-sl.c')
-rw-r--r-- | print-sl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -184,8 +184,8 @@ sliplink_print(netdissect_options *ndo, return; } if (p[SLX_CHDR] & TYPE_COMPRESSED_TCP) { - compressed_sl_print(ndo, &p[SLX_CHDR], ip, - length, dir); + compressed_sl_print(ndo, p + SLX_CHDR, ip, + length, dir); ND_PRINT((ndo, ": ")); } else ND_PRINT((ndo, "slip-%d!: ", EXTRACT_U_1(p + SLX_CHDR))); |