diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-13 19:12:39 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-14 10:20:02 +0200 |
| commit | 26a429fe8e49c67a375886a99a3687417379d19e (patch) | |
| tree | c244b1a42b7eb8a402fff1a80b165a618cf7b19f /ospf6d/ospf6_top.c | |
| parent | 6d3c2ed4edb863d108239132b3e01daf07024f65 (diff) | |
*: remove VTYNL, part 2 of 6
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_top.c')
| -rw-r--r-- | ospf6d/ospf6_top.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index fd91410fa9..9040e4ab9f 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -315,7 +315,7 @@ DEFUN (no_router_ospf6, OSPF6_STR) { if (ospf6 == NULL) - vty_out (vty, "OSPFv3 is not configured%s", VTYNL); + vty_out (vty, "OSPFv3 is not configured\n"); else { ospf6_delete (ospf6); @@ -835,13 +835,13 @@ ospf6_show (struct vty *vty, struct ospf6 *o) (long long)o->ts_spf_duration.tv_usec, VTYNL); } else - vty_out(vty, "has not been run$%s", VTYNL); + vty_out(vty, "has not been run$\n"); threadtimer_string(now, o->t_spf_calc, buf, sizeof(buf)); vty_out (vty, " SPF timer %s%s%s", (o->t_spf_calc ? "due in " : "is "), buf, VTYNL); if (CHECK_FLAG (o->flag, OSPF6_STUB_ROUTER)) - vty_out (vty, " Router Is Stub Router%s", VTYNL); + vty_out (vty, " Router Is Stub Router\n"); /* LSAs */ vty_out (vty, " Number of AS scoped LSAs is %u%s", @@ -963,7 +963,7 @@ ospf6_stub_router_config_write (struct vty *vty) { if (CHECK_FLAG (ospf6->flag, OSPF6_STUB_ROUTER)) { - vty_out (vty, " stub-router administrative%s", VTYNL); + vty_out (vty, " stub-router administrative\n"); } return; } @@ -1019,7 +1019,7 @@ config_write_ospf6 (struct vty *vty) return CMD_SUCCESS; inet_ntop (AF_INET, &ospf6->router_id_static, router_id, sizeof (router_id)); - vty_out (vty, "router ospf6%s", VTYNL); + vty_out (vty, "router ospf6\n"); if (ospf6->router_id_static != 0) vty_out (vty, " router-id %s%s", router_id, VTYNL); @@ -1056,7 +1056,7 @@ config_write_ospf6 (struct vty *vty) vty_out (vty, " interface %s area %s%s", oi->interface->name, oa->name, VTYNL); } - vty_out (vty, "!%s", VTYNL); + vty_out (vty, "!\n"); return 0; } |
