]> The Tcpdump Group git mirrors - tcpdump/commitdiff
frag6: Fix indentation
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 4 Oct 2020 14:01:04 +0000 (16:01 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 4 Oct 2020 14:01:04 +0000 (16:01 +0200)
print-frag6.c

index d771b4d72154be1469611ce5fe367cfe323c8111..c704ea274f338eda1bd4609a7c4e06aee3a23c20 100644 (file)
@@ -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 */