]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Zephyr: Fix indentation
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 7 Feb 2022 21:39:34 +0000 (22:39 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 7 Feb 2022 21:44:50 +0000 (22:44 +0100)
Replace 19 instances of 8 spaces at beginning of a line by <tab>
like in all other cases (109).

print-zephyr.c

index aa552aaa657092e3e94746e3735e61e93403c697..0a2ee337966f186da38b3050baf940f4455941e9 100644 (file)
@@ -143,23 +143,23 @@ void
 zephyr_print(netdissect_options *ndo, const u_char *cp, u_int length)
 {
     struct z_packet z = {
-        NULL,  /* version */
-        0,     /* numfields */
-        0,     /* kind */
-        NULL,  /* uid */
-        0,     /* port */
-        0,     /* auth */
-        0,     /* authlen */
-        NULL,  /* authdata */
-        NULL,  /* class */
-        NULL,  /* inst */
-        NULL,  /* opcode */
-        NULL,  /* sender */
-        NULL,  /* recipient */
-        NULL,  /* format */
-        0,     /* cksum */
-        0,     /* multi */
-        NULL   /* multi_uid */
+       NULL,   /* version */
+       0,      /* numfields */
+       0,      /* kind */
+       NULL,   /* uid */
+       0,      /* port */
+       0,      /* auth */
+       0,      /* authlen */
+       NULL,   /* authdata */
+       NULL,   /* class */
+       NULL,   /* inst */
+       NULL,   /* opcode */
+       NULL,   /* sender */
+       NULL,   /* recipient */
+       NULL,   /* format */
+       0,      /* cksum */
+       0,      /* multi */
+       NULL    /* multi_uid */
     };
     const char *parse = (const char *) cp;
     int parselen = length;
@@ -183,7 +183,7 @@ zephyr_print(netdissect_options *ndo, const u_char *cp, u_int length)
 
     PARSE_FIELD_STR(z.version);
     if (lose)
-        goto invalid;
+       goto invalid;
 
     if (strncmp(z.version, "ZEPH", 4))
        return;
@@ -206,7 +206,7 @@ zephyr_print(netdissect_options *ndo, const u_char *cp, u_int length)
     PARSE_FIELD_STR(z.multi_uid);
 
     if (lose)
-        goto invalid;
+       goto invalid;
 
     ND_PRINT(" zephyr");
     if (strncmp(z.version+4, "0.2", 3)) {