diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-09 17:15:55 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-10 11:40:35 +0100 |
commit | 6bb65331a5f9d35186238af0ed736a3949616bc2 (patch) | |
tree | 0a444da5c885e8a62952429175c8fb74a0caa426 /print-mobility.c | |
parent | 07ac438e08e5ffed3539e10d78f1cfc7d221d591 (diff) | |
download | tcpdump-6bb65331a5f9d35186238af0ed736a3949616bc2.tar.gz |
Use more the EXTRACT_U_1() macro (53/n)
Assignment, p[n], (more)
Diffstat (limited to 'print-mobility.c')
-rw-r--r-- | print-mobility.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-mobility.c b/print-mobility.c index 61768a9e..6ad7c718 100644 --- a/print-mobility.c +++ b/print-mobility.c @@ -124,7 +124,7 @@ mobility_opt_print(netdissect_options *ndo, else { if (i + 1 < len) { ND_TCHECK_1(bp + i + 1); - optlen = bp[i + 1] + 2; + optlen = EXTRACT_U_1(bp + i + 1) + 2; } else goto trunc; |