summaryrefslogtreecommitdiffstats
path: root/lib/filter.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-21 20:10:29 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-29 19:34:56 +0200
commite31b6333f4def619b6471d67bb901f7893a83193 (patch)
tree7d07cbd86fb8e6eeae363a3ea30e215de175ef0e /lib/filter.c
parent*: s/VTY_NEWLINE/VTYNL/g (diff)
downloadfrr-e31b6333f4def619b6471d67bb901f7893a83193.tar.xz
frr-e31b6333f4def619b6471d67bb901f7893a83193.zip
*: vty_outln (vty, "") --> vty_out (vty, VTYNL)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/filter.c')
-rw-r--r--lib/filter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/filter.c b/lib/filter.c
index 06f661c19..3cef49b2d 100644
--- a/lib/filter.c
+++ b/lib/filter.c
@@ -1727,7 +1727,7 @@ filter_show (struct vty *vty, const char *name, afi_t afi)
vty_out (vty, " %s", inet_ntoa (filter->addr));
if (filter->addr_mask.s_addr != 0)
vty_out (vty, ", wildcard bits %s", inet_ntoa (filter->addr_mask));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
@@ -1770,7 +1770,7 @@ filter_show (struct vty *vty, const char *name, afi_t afi)
vty_out (vty, " %s", inet_ntoa (filter->addr));
if (filter->addr_mask.s_addr != 0)
vty_out (vty, ", wildcard bits %s", inet_ntoa (filter->addr_mask));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
@@ -1855,7 +1855,7 @@ config_write_access_cisco (struct vty *vty, struct filter *mfilter)
vty_out (vty, " %s", inet_ntoa (filter->mask));
vty_out (vty, " %s", inet_ntoa (filter->mask_mask));
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
else
{
@@ -1866,7 +1866,7 @@ config_write_access_cisco (struct vty *vty, struct filter *mfilter)
vty_out (vty, " %s", inet_ntoa (filter->addr));
if (filter->addr_mask.s_addr != 0)
vty_out (vty, " %s", inet_ntoa (filter->addr_mask));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
@@ -1889,7 +1889,7 @@ config_write_access_zebra (struct vty *vty, struct filter *mfilter)
p->prefixlen,
filter->exact ? " exact-match" : "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
static int