]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix spaces
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 28 Aug 2018 15:15:19 +0000 (17:15 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 28 Aug 2018 15:15:50 +0000 (17:15 +0200)
print-bgp.c

index c7aaba2e20bdb5e3155d25047a26177fbfd940a6..82c70edb784f84ab39ea0081dc46d2a9cdbffe88 100644 (file)
@@ -2710,11 +2710,11 @@ bgp_update_print(netdissect_options *ndo,
         add_path = check_add_path(ndo, p, withdrawn_routes_len, 32);
         while (withdrawn_routes_len != 0) {
             if (add_path) {
-               if (withdrawn_routes_len < 4) {
-                   p += withdrawn_routes_len;
-                   length -= withdrawn_routes_len;
-                   break;
-               }
+                if (withdrawn_routes_len < 4) {
+                    p += withdrawn_routes_len;
+                    length -= withdrawn_routes_len;
+                    break;
+                }
                 path_id = EXTRACT_BE_U_4(p);
                 p += 4;
                 length -= 4;