diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-10-04 16:01:04 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-10-04 16:01:04 +0200 |
commit | 2e943ce0c94720d8bf8cd0e37b10b799e944cc9f (patch) | |
tree | bea56e90962cc1c6b8ba75c409e70b2a444e692d | |
parent | d7a661b5d3e76f60388b1a24c0d1c8c0b4969662 (diff) | |
download | tcpdump-2e943ce0c94720d8bf8cd0e37b10b799e944cc9f.tar.gz |
frag6: Fix indentation
-rw-r--r-- | print-frag6.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/print-frag6.c b/print-frag6.c index d771b4d7..c704ea27 100644 --- a/print-frag6.c +++ b/print-frag6.c @@ -44,15 +44,15 @@ frag6_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2) if (ndo->ndo_vflag) { ND_PRINT("frag (0x%08x:%u|%u)", - GET_BE_U_4(dp->ip6f_ident), - GET_BE_U_2(dp->ip6f_offlg) & IP6F_OFF_MASK, - (u_int)(sizeof(struct ip6_hdr) + GET_BE_U_2(ip6->ip6_plen) - - (bp - bp2) - sizeof(struct ip6_frag))); + GET_BE_U_4(dp->ip6f_ident), + GET_BE_U_2(dp->ip6f_offlg) & IP6F_OFF_MASK, + (u_int)(sizeof(struct ip6_hdr) + GET_BE_U_2(ip6->ip6_plen) - + (bp - bp2) - sizeof(struct ip6_frag))); } else { ND_PRINT("frag (%u|%u)", - GET_BE_U_2(dp->ip6f_offlg) & IP6F_OFF_MASK, - (u_int)(sizeof(struct ip6_hdr) + GET_BE_U_2(ip6->ip6_plen) - - (bp - bp2) - sizeof(struct ip6_frag))); + GET_BE_U_2(dp->ip6f_offlg) & IP6F_OFF_MASK, + (u_int)(sizeof(struct ip6_hdr) + GET_BE_U_2(ip6->ip6_plen) - + (bp - bp2) - sizeof(struct ip6_frag))); } /* it is meaningless to decode non-first fragment */ |