summaryrefslogtreecommitdiff
path: root/lib/if_rmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if_rmap.c')
-rw-r--r--lib/if_rmap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/if_rmap.c b/lib/if_rmap.c
index 492c39c6ae..a0c40d5afa 100644
--- a/lib/if_rmap.c
+++ b/lib/if_rmap.c
@@ -228,7 +228,7 @@ DEFUN (if_rmap,
type = IF_RMAP_OUT;
else
{
- vty_outln (vty, "route-map direction must be [in|out]");
+ vty_out (vty, "route-map direction must be [in|out]\n");
return CMD_WARNING_CONFIG_FAILED;
}
@@ -259,14 +259,14 @@ DEFUN (no_if_rmap,
type = IF_RMAP_OUT;
else
{
- vty_outln (vty, "route-map direction must be [in|out]");
+ vty_out (vty, "route-map direction must be [in|out]\n");
return CMD_WARNING_CONFIG_FAILED;
}
ret = if_rmap_unset (argv[idx_ifname]->arg, type, argv[idx_routemap_name]->arg);
if (! ret)
{
- vty_outln (vty, "route-map doesn't exist");
+ vty_out (vty, "route-map doesn't exist\n");
return CMD_WARNING_CONFIG_FAILED;
}
return CMD_SUCCESS;
@@ -290,7 +290,7 @@ config_write_if_rmap (struct vty *vty)
if (if_rmap->routemap[IF_RMAP_IN])
{
- vty_outln (vty, " route-map %s in %s",
+ vty_out (vty, " route-map %s in %s\n",
if_rmap->routemap[IF_RMAP_IN],
if_rmap->ifname);
write++;
@@ -298,7 +298,7 @@ config_write_if_rmap (struct vty *vty)
if (if_rmap->routemap[IF_RMAP_OUT])
{
- vty_outln (vty, " route-map %s out %s",
+ vty_out (vty, " route-map %s out %s\n",
if_rmap->routemap[IF_RMAP_OUT],
if_rmap->ifname);
write++;