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_route.c | |
parent | *: remove VTYNL, part 1 of 6 (diff) | |
download | frr-26a429fe8e49c67a375886a99a3687417379d19e.tar.xz frr-26a429fe8e49c67a375886a99a3687417379d19e.zip |
*: remove VTYNL, part 2 of 6
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_route.c')
-rw-r--r-- | ospf6d/ospf6_route.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ospf6d/ospf6_route.c b/ospf6d/ospf6_route.c index 3784565a9..1befbe248 100644 --- a/ospf6d/ospf6_route.c +++ b/ospf6d/ospf6_route.c @@ -1131,7 +1131,7 @@ ospf6_route_show_detail (struct vty *vty, struct ospf6_route *route) vty_out (vty, "Router Bits: %s%s", capa, VTYNL); /* Prefix Options */ - vty_out (vty, "Prefix Options: xxx%s", VTYNL); + vty_out (vty, "Prefix Options: xxx\n"); /* Metrics */ vty_out (vty, "Metric Type: %d%s", route->path.metric_type, @@ -1140,7 +1140,7 @@ ospf6_route_show_detail (struct vty *vty, struct ospf6_route *route) route->path.cost, route->path.u.cost_e2, VTYNL); /* Nexthops */ - vty_out (vty, "Nexthop:%s", VTYNL); + vty_out (vty, "Nexthop:\n"); for (ALL_LIST_ELEMENTS_RO (route->nh_list, node, nh)) { /* nexthop */ @@ -1148,7 +1148,7 @@ ospf6_route_show_detail (struct vty *vty, struct ospf6_route *route) ifname = ifindex2ifname (nh->ifindex, VRF_DEFAULT); vty_out (vty, " %s %.*s%s", nexthop, IFNAMSIZ, ifname, VTYNL); } - vty_out (vty, "%s", VTYNL); + vty_out (vty, "\n"); } static void @@ -1619,11 +1619,11 @@ int config_write_ospf6_debug_route (struct vty *vty) { if (IS_OSPF6_DEBUG_ROUTE (TABLE)) - vty_out (vty, "debug ospf6 route table%s", VTYNL); + vty_out (vty, "debug ospf6 route table\n"); if (IS_OSPF6_DEBUG_ROUTE (INTRA)) - vty_out (vty, "debug ospf6 route intra-area%s", VTYNL); + vty_out (vty, "debug ospf6 route intra-area\n"); if (IS_OSPF6_DEBUG_ROUTE (INTER)) - vty_out (vty, "debug ospf6 route inter-area%s", VTYNL); + vty_out (vty, "debug ospf6 route inter-area\n"); return 0; } |