summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_routemap.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 18:50:29 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 10:19:58 +0200
commit181039f3d7a5f59ed31274210a9626f2cc5f673e (patch)
tree945a074b1f8f7bd53c21e6b65ec7e08de15b2121 /zebra/zebra_routemap.c
parent*: ditch vty_outln(), part 1 of 2 (diff)
downloadfrr-181039f3d7a5f59ed31274210a9626f2cc5f673e.tar.xz
frr-181039f3d7a5f59ed31274210a9626f2cc5f673e.zip
*: ditch vty_outln(), part 2 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_routemap.c')
-rw-r--r--zebra/zebra_routemap.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c
index fc21ada3a..ab1643e50 100644
--- a/zebra/zebra_routemap.c
+++ b/zebra/zebra_routemap.c
@@ -302,7 +302,7 @@ DEFUN (match_source_protocol,
i = proto_name2num(proto);
if (i < 0)
{
- vty_outln (vty, "invalid protocol name \"%s\"", proto);
+ vty_out (vty, "invalid protocol name \"%s\"\n", proto);
return CMD_WARNING;
}
return zebra_route_match_add (vty, "source-protocol", proto, RMAP_EVENT_MATCH_ADDED);
@@ -459,7 +459,7 @@ DEFUN (ip_protocol,
i = proto_name2num(proto);
if (i < 0)
{
- vty_outln (vty, "invalid protocol name \"%s\"", proto);
+ vty_out (vty, "invalid protocol name \"%s\"\n", proto);
return CMD_WARNING;
}
if (proto_rm[AFI_IP][i])
@@ -500,7 +500,7 @@ DEFUN (no_ip_protocol,
if (i < 0)
{
- vty_outln (vty, "invalid protocol name \"%s\"", proto);
+ vty_out (vty, "invalid protocol name \"%s\"\n", proto);
return CMD_WARNING;
}
@@ -566,7 +566,7 @@ DEFUN (ipv6_protocol,
i = proto_name2num(proto);
if (i < 0)
{
- vty_outln (vty, "invalid protocol name \"%s\"", proto);
+ vty_out (vty, "invalid protocol name \"%s\"\n", proto);
return CMD_WARNING;
}
if (proto_rm[AFI_IP6][i])
@@ -606,7 +606,7 @@ DEFUN (no_ipv6_protocol,
i = proto_name2num(proto);
if (i < 0)
{
- vty_outln (vty, "invalid protocol name \"%s\"", proto);
+ vty_out (vty, "invalid protocol name \"%s\"\n", proto);
return CMD_WARNING;
}
if (!proto_rm[AFI_IP6][i])
@@ -672,7 +672,7 @@ DEFUN (ip_protocol_nht_rmap,
i = proto_name2num(proto);
if (i < 0)
{
- vty_outln (vty, "invalid protocol name \"%s\"", proto);
+ vty_out (vty, "invalid protocol name \"%s\"\n", proto);
return CMD_WARNING;
}
if (nht_rm[AFI_IP][i])
@@ -707,7 +707,7 @@ DEFUN (no_ip_protocol_nht_rmap,
if (i < 0)
{
- vty_outln (vty, "invalid protocol name \"%s\"", proto);
+ vty_out (vty, "invalid protocol name \"%s\"\n", proto);
return CMD_WARNING;
}
@@ -770,7 +770,7 @@ DEFUN (ipv6_protocol_nht_rmap,
i = proto_name2num(proto);
if (i < 0)
{
- vty_outln (vty, "invalid protocol name \"%s\"", proto);
+ vty_out (vty, "invalid protocol name \"%s\"\n", proto);
return CMD_WARNING;
}
if (nht_rm[AFI_IP6][i])
@@ -801,13 +801,13 @@ DEFUN (no_ipv6_protocol_nht_rmap,
i = proto_name2num(proto);
if (i < 0)
{
- vty_outln (vty, "invalid protocol name \"%s\"", proto);
+ vty_out (vty, "invalid protocol name \"%s\"\n", proto);
return CMD_WARNING;
}
if (nht_rm[AFI_IP6][i] && rmap && strcmp(rmap, nht_rm[AFI_IP6][i]))
{
- vty_outln (vty, "invalid route-map \"%s\"", rmap);
+ vty_out (vty, "invalid route-map \"%s\"\n", rmap);
return CMD_WARNING;
}