diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-13 19:20:20 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-14 10:20:03 +0200 |
commit | 61b7d449bd022b0455f148ee9187293a62afdfcb (patch) | |
tree | 5be2ae085b0013641bbdcee48f5b524465199b3a /ospf6d | |
parent | *: remove VTYNL, part 2 of 6 (diff) | |
download | frr-61b7d449bd022b0455f148ee9187293a62afdfcb.tar.xz frr-61b7d449bd022b0455f148ee9187293a62afdfcb.zip |
*: remove VTYNL, part 3 of 6
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
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 90ba0dc74..3f6263563 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 a7153893c..bee7828a9 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); } |