summaryrefslogtreecommitdiff
path: root/bgpd/bgp_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_filter.c')
-rw-r--r--bgpd/bgp_filter.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/bgpd/bgp_filter.c b/bgpd/bgp_filter.c
index b2f0c3ee25..9b11cd58b2 100644
--- a/bgpd/bgp_filter.c
+++ b/bgpd/bgp_filter.c
@@ -457,7 +457,7 @@ DEFUN (ip_as_path,
regex = bgp_regcomp (regstr);
if (!regex)
{
- vty_outln (vty, "can't compile regexp %s", regstr);
+ vty_out (vty, "can't compile regexp %s\n", regstr);
XFREE (MTYPE_TMP, regstr);
return CMD_WARNING;
}
@@ -503,7 +503,7 @@ DEFUN (no_ip_as_path,
aslist = as_list_lookup (aslistname);
if (aslist == NULL)
{
- vty_outln (vty, "ip as-path access-list %s doesn't exist",aslistname);
+ vty_out (vty, "ip as-path access-list %s doesn't exist\n",aslistname);
return CMD_WARNING;
}
@@ -514,7 +514,7 @@ DEFUN (no_ip_as_path,
type = AS_FILTER_DENY;
else
{
- vty_outln (vty, "filter type must be [permit|deny]");
+ vty_out (vty, "filter type must be [permit|deny]\n");
return CMD_WARNING;
}
@@ -525,7 +525,7 @@ DEFUN (no_ip_as_path,
regex = bgp_regcomp (regstr);
if (!regex)
{
- vty_outln (vty, "can't compile regexp %s", regstr);
+ vty_out (vty, "can't compile regexp %s\n", regstr);
XFREE (MTYPE_TMP, regstr);
return CMD_WARNING;
}
@@ -562,7 +562,7 @@ DEFUN (no_ip_as_path_all,
aslist = as_list_lookup (argv[idx_word]->arg);
if (aslist == NULL)
{
- vty_outln (vty, "ip as-path access-list %s doesn't exist",
+ vty_out (vty, "ip as-path access-list %s doesn't exist\n",
argv[idx_word]->arg);
return CMD_WARNING;
}
@@ -581,11 +581,11 @@ as_list_show (struct vty *vty, struct as_list *aslist)
{
struct as_filter *asfilter;
- vty_outln (vty, "AS path access list %s", aslist->name);
+ vty_out (vty, "AS path access list %s\n", aslist->name);
for (asfilter = aslist->head; asfilter; asfilter = asfilter->next)
{
- vty_outln (vty, " %s %s", filter_type_str (asfilter->type),
+ vty_out (vty, " %s %s\n", filter_type_str (asfilter->type),
asfilter->reg_str);
}
}
@@ -598,22 +598,22 @@ as_list_show_all (struct vty *vty)
for (aslist = as_list_master.num.head; aslist; aslist = aslist->next)
{
- vty_outln (vty, "AS path access list %s", aslist->name);
+ vty_out (vty, "AS path access list %s\n", aslist->name);
for (asfilter = aslist->head; asfilter; asfilter = asfilter->next)
{
- vty_outln (vty, " %s %s", filter_type_str (asfilter->type),
+ vty_out (vty, " %s %s\n", filter_type_str (asfilter->type),
asfilter->reg_str);
}
}
for (aslist = as_list_master.str.head; aslist; aslist = aslist->next)
{
- vty_outln (vty, "AS path access list %s", aslist->name);
+ vty_out (vty, "AS path access list %s\n", aslist->name);
for (asfilter = aslist->head; asfilter; asfilter = asfilter->next)
{
- vty_outln (vty, " %s %s", filter_type_str (asfilter->type),
+ vty_out (vty, " %s %s\n", filter_type_str (asfilter->type),
asfilter->reg_str);
}
}
@@ -658,7 +658,7 @@ config_write_as_list (struct vty *vty)
for (aslist = as_list_master.num.head; aslist; aslist = aslist->next)
for (asfilter = aslist->head; asfilter; asfilter = asfilter->next)
{
- vty_outln (vty, "ip as-path access-list %s %s %s",
+ vty_out (vty, "ip as-path access-list %s %s %s\n",
aslist->name, filter_type_str (asfilter->type),
asfilter->reg_str);
write++;
@@ -667,7 +667,7 @@ config_write_as_list (struct vty *vty)
for (aslist = as_list_master.str.head; aslist; aslist = aslist->next)
for (asfilter = aslist->head; asfilter; asfilter = asfilter->next)
{
- vty_outln (vty, "ip as-path access-list %s %s %s",
+ vty_out (vty, "ip as-path access-list %s %s %s\n",
aslist->name, filter_type_str (asfilter->type),
asfilter->reg_str);
write++;