diff options
author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-11-25 21:25:08 +0100 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-12-03 21:56:00 +0100 |
commit | 47f94d175a6f52cde83c3ff319304cd918acbb93 (patch) | |
tree | 698d2a29bcb7e4fa84daa84f08ac43a3fcd927e4 /pbrd | |
parent | pbrd: use dst string in match dst-ip vty description (diff) | |
download | frr-47f94d175a6f52cde83c3ff319304cd918acbb93.tar.xz frr-47f94d175a6f52cde83c3ff319304cd918acbb93.zip |
pbrd: Add newlines in `set nexthop*` vty output
We were missing some newlines in handling vty outputs
for the `set nexthop*` commands. Add them in there.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'pbrd')
-rw-r--r-- | pbrd/pbr_vty.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c index 42be65437..9f4e5e7fc 100644 --- a/pbrd/pbr_vty.c +++ b/pbrd/pbr_vty.c @@ -243,7 +243,7 @@ DEFPY(pbr_map_nexthop_group, pbr_map_nexthop_group_cmd, pbr_map_delete_nexthops(pbrms); else { vty_out(vty, - "Nexthop Group specified: %s does not exist to remove", + "Nexthop Group specified: %s does not exist to remove\n", name); return CMD_WARNING_CONFIG_FAILED; } @@ -251,7 +251,7 @@ DEFPY(pbr_map_nexthop_group, pbr_map_nexthop_group_cmd, if (pbrms->nhgrp_name) { if (strcmp(name, pbrms->nhgrp_name) != 0) { vty_out(vty, - "Please delete current nexthop group before modifying current one"); + "Please delete current nexthop group before modifying current one\n"); return CMD_WARNING_CONFIG_FAILED; } @@ -288,7 +288,7 @@ DEFPY(pbr_map_nexthop, pbr_map_nexthop_cmd, if (pbrms->nhgrp_name) { vty_out(vty, - "Please unconfigure the nexthop group before adding an individual nexthop"); + "Please unconfigure the nexthop group before adding an individual nexthop\n"); return CMD_WARNING_CONFIG_FAILED; } @@ -370,7 +370,7 @@ DEFPY(pbr_map_nexthop, pbr_map_nexthop_cmd, if (pbrms->nhg->nexthop) { vty_out(vty, - "If you would like more than one nexthop please use nexthop-groups"); + "If you would like more than one nexthop please use nexthop-groups\n"); return CMD_WARNING_CONFIG_FAILED; } |