]> git.proxmox.com Git - mirror_frr.git/commitdiff
Avoid to make indentation even worse
authorßingen <bingen@voltanet.io>
Mon, 10 Jul 2017 20:52:16 +0000 (22:52 +0200)
committerßingen <bingen@voltanet.io>
Mon, 10 Jul 2017 20:52:16 +0000 (22:52 +0200)
zebra/zebra_vty.c

index 182223b05886261eb8ae5f2a293a765cfb93f811..7f4754fccc8f5beec26df97f028b2dfec89c7a7b 100644 (file)
@@ -720,12 +720,12 @@ vty_show_ip_route_detail (struct vty *vty, struct route_node *rn, int mcast)
        }
 
       for (ALL_NEXTHOPS(re->nexthop, nexthop))
-    {
+        {
           char addrstr[32];
 
          vty_out (vty, "  %c%s",
-              CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB) ? '*' : ' ',
-              nexthop->rparent ? "  " : "");
+                  CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB) ? '*' : ' ',
+                  nexthop->rparent ? "  " : "");
 
          switch (nexthop->type)
            {
@@ -983,9 +983,9 @@ vty_show_ip_route (struct vty *vty, struct route_node *rn, struct route_entry *r
        }
       else
        vty_out (vty, "  %c%*c",
-            CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB)
-            ? '*' : ' ',
-            len - 3 + (2 * (nexthop->rparent ? 1 : 0)), ' ');
+                CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB)
+                ? '*' : ' ',
+                len - 3 + (2 * (nexthop->rparent ? 1 : 0)), ' ');
 
       switch (nexthop->type)
        {