Avoid to make indentation even worse

This commit is contained in:
ßingen 2017-07-10 22:52:16 +02:00
parent 1bc207557b
commit 62b3c03f53

View 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)) for (ALL_NEXTHOPS(re->nexthop, nexthop))
{ {
char addrstr[32]; char addrstr[32];
vty_out (vty, " %c%s", vty_out (vty, " %c%s",
CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB) ? '*' : ' ', CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB) ? '*' : ' ',
nexthop->rparent ? " " : ""); nexthop->rparent ? " " : "");
switch (nexthop->type) switch (nexthop->type)
{ {
@ -983,9 +983,9 @@ vty_show_ip_route (struct vty *vty, struct route_node *rn, struct route_entry *r
} }
else else
vty_out (vty, " %c%*c", vty_out (vty, " %c%*c",
CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB) CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB)
? '*' : ' ', ? '*' : ' ',
len - 3 + (2 * (nexthop->rparent ? 1 : 0)), ' '); len - 3 + (2 * (nexthop->rparent ? 1 : 0)), ' ');
switch (nexthop->type) switch (nexthop->type)
{ {