summaryrefslogtreecommitdiffstats
path: root/isisd/isis_redist.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 17:49:13 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 20:29:22 +0200
commit5c7571d43f57317b0827ac82fbebc4cdc6865be0 (patch)
tree2bc63ccbd805abc9689e9f3345e34871558d5c26 /isisd/isis_redist.c
parentlib: move \n vs. \r\n handling into vty code (diff)
downloadfrr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.tar.xz
frr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.zip
*: ditch vty_outln(), part 1 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_redist.c')
-rw-r--r--isisd/isis_redist.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/isisd/isis_redist.c b/isisd/isis_redist.c
index 25fdf717b..f4af3aef2 100644
--- a/isisd/isis_redist.c
+++ b/isisd/isis_redist.c
@@ -600,7 +600,7 @@ DEFUN (isis_redistribute,
if ((area->is_type & level) != level)
{
- vty_outln (vty, "Node is not a level-%d IS", level);
+ vty_out (vty, "Node is not a level-%d IS\n", level);
return CMD_WARNING;
}
@@ -702,7 +702,7 @@ DEFUN (isis_default_originate,
if ((area->is_type & level) != level)
{
- vty_outln (vty, "Node is not a level-%d IS", level);
+ vty_out (vty, "Node is not a level-%d IS\n", level);
return CMD_WARNING;
}
@@ -722,9 +722,9 @@ DEFUN (isis_default_originate,
if (family == AF_INET6 && originate_type != DEFAULT_ORIGINATE_ALWAYS)
{
- vty_outln (vty,
- "Zebra doesn't implement default-originate for IPv6 yet");
- vty_outln (vty, "so use with care or use default-originate always.");
+ vty_out (vty,
+ "Zebra doesn't implement default-originate for IPv6 yet\n");
+ vty_out (vty, "so use with care or use default-originate always.\n");
}
isis_redist_set(area, level, family, DEFAULT_ROUTE, metric, routemap, originate_type);