summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-05-25 20:31:07 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-06-06 16:16:12 +0000
commit0a334343d14ee8c49f561e7e3c8def1dda93e8db (patch)
tree6a9e3a19019b7f7f4e845739d4f8d36223837389 /lib/vty.c
parent2cddf2fff7394b5a61f9bf3f8fd0b7887b8c5dfa (diff)
*: style for | support
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vty.c b/lib/vty.c
index e4315e2d1c..0bdcbf2284 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -186,6 +186,7 @@ int vty_out(struct vty *vty, const char *format, ...)
/* filter buffer */
if (vty->filter) {
vector lines = frrstr_split_vec(buf, "\n");
+
frrstr_filter_vec(lines, &vty->include);
if (buf[strlen(buf) - 1] == '\n' && vector_active(lines) > 0)
vector_set(lines, XSTRDUP(MTYPE_TMP, ""));