if (nhe->vrf_id != zvrf->vrf->vrf_id)
continue;
- vty_out(vty,
- "Group: %u ID: %u RefCnt: %d Valid: %d Installed: %d\n",
- nhe->dplane_ref, nhe->id, nhe->refcnt,
+ vty_out(vty, "Group: %u ID: %u\n", nhe->dplane_ref, nhe->id);
+ vty_out(vty, "\tRefCnt: %d\n", nhe->refcnt);
+ vty_out(vty, "\tValid: %d, Installed %d\n",
nhe->flags & NEXTHOP_GROUP_VALID,
nhe->flags & NEXTHOP_GROUP_INSTALLED);
-
for (ALL_NEXTHOPS(nhe->nhg, nhop)) {
- vty_out(vty, " ");
+ vty_out(vty, "\t");
nexthop_group_write_nexthop(vty, nhop);
}
}