diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-17 20:42:05 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-17 20:42:05 +0100 |
commit | 0e854b0937199956478686ae610ff9f794aafc6b (patch) | |
tree | 24a6b013d6ccd4473efc5ffed260d13abeb74b3b /print-cdp.c | |
parent | f6426a304dc4c074404a24982a7b2a84985d2421 (diff) | |
download | tcpdump-0e854b0937199956478686ae610ff9f794aafc6b.tar.gz |
CDP: Remove a useless line
The value was fetched before:
al = EXTRACT_16BITS(&p[pl]); /* address length */
Diffstat (limited to 'print-cdp.c')
-rw-r--r-- | print-cdp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/print-cdp.c b/print-cdp.c index 6f8f3567..311f2c26 100644 --- a/print-cdp.c +++ b/print-cdp.c @@ -347,7 +347,6 @@ cdp_print_addr(netdissect_options *ndo, ND_TCHECK2(*p, 2); if (p + 2 > endp) goto trunc; - al = (*p << 8) + *(p + 1); ND_PRINT((ndo, ", al=%d, a=", al)); p += 2; ND_TCHECK2(*p, al); |