]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip.c
lwres: Fix an undefined behavior in pointer arithmetic
[tcpdump] / print-ip.c
index 23ba99c970075099b9e5a80a598967e2c4081b6e..f90c58a041a8b1987724987d4134ec11141841e6 100644 (file)
@@ -363,8 +363,7 @@ ip_print(netdissect_options *ndo,
             if (len) {
                 ND_PRINT("bad-len %u", len);
                 return;
-            }
-            else {
+            } else {
                 /* we guess that it is a TSO send */
                 len = length;
             }