]> The Tcpdump Group git mirrors - tcpdump/commitdiff
EAP: clean up white space.
authorGuy Harris <[email protected]>
Sun, 14 Nov 2021 02:50:53 +0000 (18:50 -0800)
committerGuy Harris <[email protected]>
Sun, 14 Nov 2021 02:50:53 +0000 (18:50 -0800)
print-eap.c

index 04acccb2bf2a706272a6594d35f3f975ad94a369..f8a732af04bfac7cf5b027c8d83fad6c01c8416e 100644 (file)
@@ -156,7 +156,7 @@ eap_print(netdissect_options *ndo,
 
     type = GET_U_1(cp);
     len = GET_BE_U_2(cp + 2);
-    if(len != length) {
+    if (len != length) {
         /*
          * Probably a fragment; in some cases the fragmentation might
          * not put an EAP header on every packet, if reassembly can
@@ -192,7 +192,7 @@ eap_print(netdissect_options *ndo,
         switch (subtype) {
             case EAP_TYPE_IDENTITY:
                 /* According to RFC 3748, the message is optional */
-                if (len > 5 ) {
+                if (len > 5) {
                     ND_PRINT(", Identity: ");
                     nd_printjnp(ndo, cp + 5, len - 5);
                 }