summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_zebra.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 19:06:52 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 10:20:02 +0200
commit6b18e3b2e0dd57375f6908b40089a30bbf8f683f (patch)
treec4415d22cb8d9b2371cbff5a976d4b45a5c475a1 /ospf6d/ospf6_zebra.c
parent*: ditch vty_outln(), part 2 of 2 (diff)
downloadfrr-6b18e3b2e0dd57375f6908b40089a30bbf8f683f.tar.xz
frr-6b18e3b2e0dd57375f6908b40089a30bbf8f683f.zip
ospf6d: VNL -> VTYNL
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
-rw-r--r--ospf6d/ospf6_zebra.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index ff00bc7a5..9a1866139 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -315,23 +315,23 @@ DEFUN (show_zebra,
int i;
if (zclient == NULL)
{
- vty_out (vty, "Not connected to zebra%s", VNL);
+ vty_out (vty, "Not connected to zebra%s", VTYNL);
return CMD_SUCCESS;
}
- vty_out (vty, "Zebra Infomation%s", VNL);
+ vty_out (vty, "Zebra Infomation%s", VTYNL);
vty_out (vty, " enable: %d fail: %d%s",
- zclient->enable, zclient->fail, VNL);
+ zclient->enable, zclient->fail, VTYNL);
vty_out (vty, " redistribute default: %d%s",
vrf_bitmap_check (zclient->default_information, VRF_DEFAULT),
- VNL);
+ VTYNL);
vty_out (vty, " redistribute:");
for (i = 0; i < ZEBRA_ROUTE_MAX; i++)
{
if (vrf_bitmap_check (zclient->redist[AFI_IP6][i], VRF_DEFAULT))
vty_out (vty, " %s", zebra_route_string(i));
}
- vty_out (vty, "%s", VNL);
+ vty_out (vty, "%s", VTYNL);
return CMD_SUCCESS;
}
@@ -341,15 +341,15 @@ config_write_ospf6_zebra (struct vty *vty)
{
if (! zclient->enable)
{
- vty_out (vty, "no router zebra%s", VNL);
- vty_out (vty, "!%s", VNL);
+ vty_out (vty, "no router zebra%s", VTYNL);
+ vty_out (vty, "!%s", VTYNL);
}
else if (! vrf_bitmap_check (zclient->redist[AFI_IP6][ZEBRA_ROUTE_OSPF6],
VRF_DEFAULT))
{
- vty_out (vty, "router zebra%s", VNL);
- vty_out (vty, " no redistribute ospf6%s", VNL);
- vty_out (vty, "!%s", VNL);
+ vty_out (vty, "router zebra%s", VTYNL);
+ vty_out (vty, " no redistribute ospf6%s", VTYNL);
+ vty_out (vty, "!%s", VTYNL);
}
return 0;
}
@@ -905,13 +905,13 @@ int
config_write_ospf6_debug_zebra (struct vty *vty)
{
if (IS_OSPF6_DEBUG_ZEBRA (SEND) && IS_OSPF6_DEBUG_ZEBRA (RECV))
- vty_out (vty, "debug ospf6 zebra%s", VNL);
+ vty_out (vty, "debug ospf6 zebra%s", VTYNL);
else
{
if (IS_OSPF6_DEBUG_ZEBRA (SEND))
- vty_out (vty, "debug ospf6 zebra send%s", VNL);
+ vty_out (vty, "debug ospf6 zebra send%s", VTYNL);
if (IS_OSPF6_DEBUG_ZEBRA (RECV))
- vty_out (vty, "debug ospf6 zebra recv%s", VNL);
+ vty_out (vty, "debug ospf6 zebra recv%s", VTYNL);
}
return 0;
}