diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-23 20:12:25 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-23 20:24:00 +0100 |
commit | dcf5ee83bbba2ba8e8dd9a334d7cc793bc4743ea (patch) | |
tree | 922f4123443cac6c639bcaedd99d0afd23f2fd48 /print-krb.c | |
parent | 66e9f3970cea63f5389877c39d0a57e09b32a962 (diff) | |
download | tcpdump-dcf5ee83bbba2ba8e8dd9a334d7cc793bc4743ea.tar.gz |
Use more the EXTRACT_U_1() macro to fetch a one-byte value (26/n)
In ND_PRINT() macro call(s) (step 5).
(*(p)++ op e3)
Diffstat (limited to 'print-krb.c')
-rw-r--r-- | print-krb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/print-krb.c b/print-krb.c index b275362f..9fd7098b 100644 --- a/print-krb.c +++ b/print-krb.c @@ -194,7 +194,8 @@ krb4_print(netdissect_options *ndo, return; cp += 4; /* ctime */ ND_TCHECK(*cp); - ND_PRINT((ndo, " %dmin ", *cp++ * 5)); + ND_PRINT((ndo, " %dmin ", EXTRACT_U_1(cp) * 5)); + cp++; PRINT; ND_PRINT((ndo, ".")); PRINT; |