]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-olsr.c
Fix warnings when building for 32-bit and defining _TIME_BITS=64
[tcpdump] / print-olsr.c
index 0ab54f1e2b46044235037056ba883fde54fef642..27e8872105f036e95ce78f36715ca9d0d9b9eace 100644 (file)
@@ -390,9 +390,7 @@ olsr_print(netdissect_options *ndo,
 
             msg_tlen = msg_len - sizeof(struct olsr_msg6);
             msg_data = tptr + sizeof(struct olsr_msg6);
-        }
-        else /* (!is_ipv6) */
-        {
+        } else {       /* (!is_ipv6) */
             ND_TCHECK_LEN(tptr, sizeof(struct olsr_msg4));
             msgptr.v4 = (const struct olsr_msg4 *) tptr;
             msg_type = GET_U_1(msgptr.v4->msg_type);
@@ -553,9 +551,7 @@ olsr_print(netdissect_options *ndo,
                     msg_data += sizeof(struct olsr_hna6);
                     msg_tlen -= sizeof(struct olsr_hna6);
                 }
-            }
-            else
-            {
+            } else {
                 int col = 0;
 
                 ND_PRINT("\n\t  Advertised networks (total %u)",