diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-28 16:30:14 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-29 17:38:59 +0000 |
| commit | 8e25c8ce2ff6718d3c1d6cb5b6df6409147570d6 (patch) | |
| tree | 313fa8bf14a7154db1cf285e5cc9dc7621f3fdc7 /tests/lib/cli/test_cli.c | |
| parent | e31b6333f4def619b6471d67bb901f7893a83193 (diff) | |
*: rebase vty_outln() -> master
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/cli/test_cli.c')
| -rw-r--r-- | tests/lib/cli/test_cli.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/cli/test_cli.c b/tests/lib/cli/test_cli.c index 2a68ba3826..43366d49e2 100644 --- a/tests/lib/cli/test_cli.c +++ b/tests/lib/cli/test_cli.c @@ -47,10 +47,10 @@ DEFPY(magic_test, magic_test_cmd, "1\n2\n3\n4\n5\n") { char buf[256]; - vty_out(vty, "def: %s%s", self->string, VTY_NEWLINE); - vty_out(vty, "num: %ld%s", magic, VTY_NEWLINE); - vty_out(vty, "ipv4: %s%s", prefix2str(ipv4net, buf, sizeof(buf)), VTY_NEWLINE); - vty_out(vty, "ipv6: %s%s", inet_ntop(AF_INET6, &ipv6, buf, sizeof(buf)), VTY_NEWLINE); + vty_outln(vty, "def: %s", self->string); + vty_outln(vty, "num: %ld", magic); + vty_outln(vty, "ipv4: %s", prefix2str(ipv4net, buf, sizeof(buf))); + vty_outln(vty, "ipv6: %s", inet_ntop(AF_INET6, &ipv6, buf, sizeof(buf))); return CMD_SUCCESS; } |
