diff options
Diffstat (limited to 'ospf6d')
| -rw-r--r-- | ospf6d/ospf6_lsa.c | 8 | ||||
| -rw-r--r-- | ospf6d/ospf6d.c | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index 90ba0dc74f..3f6263563d 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -58,7 +58,7 @@ ospf6_unknown_lsa_show (struct vty *vty, struct ospf6_lsa *lsa) for (current = start; current < end; current ++) { if ((current - start) % 16 == 0) - vty_out (vty, "%s ", VTYNL); + vty_out (vty, "\n "); else if ((current - start) % 4 == 0) vty_out (vty, " "); @@ -66,7 +66,7 @@ ospf6_unknown_lsa_show (struct vty *vty, struct ospf6_lsa *lsa) vty_out (vty, "%s", byte); } - vty_out (vty, "%s%s", VTYNL, VTYNL); + vty_out (vty, "\n\n"); return 0; } @@ -451,7 +451,7 @@ ospf6_lsa_show_dump (struct vty *vty, struct ospf6_lsa *lsa) for (current = start; current < end; current ++) { if ((current - start) % 16 == 0) - vty_out (vty, "%s ", VTYNL); + vty_out (vty, "\n "); else if ((current - start) % 4 == 0) vty_out (vty, " "); @@ -459,7 +459,7 @@ ospf6_lsa_show_dump (struct vty *vty, struct ospf6_lsa *lsa) vty_out (vty, "%s", byte); } - vty_out (vty, "%s%s", VTYNL, VTYNL); + vty_out (vty, "\n\n"); return; } diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index a7153893c0..bee7828a9a 100644 --- a/ospf6d/ospf6d.c +++ b/ospf6d/ospf6d.c @@ -1157,8 +1157,7 @@ DEFUN (show_ipv6_ospf6_linkstate, for (ALL_LIST_ELEMENTS_RO (ospf6->area_list, node, oa)) { - vty_out (vty, "%s SPF Result in Area %s%s%s", - VTYNL, oa->name, VTYNL, VTYNL); + vty_out (vty, "\n SPF Result in Area %s%s%s", oa->name, VTYNL, VTYNL); ospf6_linkstate_table_show (vty, idx_ipv4, argc, argv, oa->spf_table); } @@ -1185,8 +1184,7 @@ DEFUN (show_ipv6_ospf6_linkstate_detail, for (ALL_LIST_ELEMENTS_RO (ospf6->area_list, node, oa)) { - vty_out (vty, "%s SPF Result in Area %s%s%s", - VTYNL, oa->name, VTYNL, VTYNL); + vty_out (vty, "\n SPF Result in Area %s%s%s", oa->name, VTYNL, VTYNL); ospf6_linkstate_table_show (vty, idx_detail, argc, argv, oa->spf_table); } |
