diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-13 19:12:39 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-14 10:20:02 +0200 |
| commit | 26a429fe8e49c67a375886a99a3687417379d19e (patch) | |
| tree | c244b1a42b7eb8a402fff1a80b165a618cf7b19f /lib | |
| parent | 6d3c2ed4edb863d108239132b3e01daf07024f65 (diff) | |
*: remove VTYNL, part 2 of 6
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/if.c | 3 | ||||
| -rw-r--r-- | lib/plist.c | 2 | ||||
| -rw-r--r-- | lib/smux.c | 2 | ||||
| -rw-r--r-- | lib/vrf.c | 3 | ||||
| -rw-r--r-- | lib/vty.c | 2 |
5 files changed, 5 insertions, 7 deletions
@@ -745,8 +745,7 @@ DEFUN_NOSH (no_interface, if (CHECK_FLAG (ifp->status, ZEBRA_INTERFACE_ACTIVE)) { - vty_out (vty, "%% Only inactive interfaces can be deleted%s", - VTYNL); + vty_out (vty, "%% Only inactive interfaces can be deleted\n"); return CMD_WARNING; } diff --git a/lib/plist.c b/lib/plist.c index 3a9d26064d..0c04b6247e 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -1861,7 +1861,7 @@ config_write_prefix_afi (afi_t afi, struct vty *vty) vty_out (vty, "\n"); write++; } - /* vty_out (vty, "!%s", VTYNL); */ + /* vty_out (vty, "!\n"); */ } for (plist = master->str.head; plist; plist = plist->next) diff --git a/lib/smux.c b/lib/smux.c index f8bf01e289..64b406bd67 100644 --- a/lib/smux.c +++ b/lib/smux.c @@ -1278,7 +1278,7 @@ smux_peer_oid (struct vty *vty, const char *oid_str, const char *passwd_str) ret = smux_str2oid (oid_str, oid, &oid_len); if (ret != 0) { - vty_out (vty, "object ID malformed%s", VTYNL); + vty_out (vty, "object ID malformed\n"); return CMD_WARNING; } @@ -507,8 +507,7 @@ DEFUN_NOSH (no_vrf, if (CHECK_FLAG (vrfp->status, VRF_ACTIVE)) { - vty_out (vty, "%% Only inactive VRFs can be deleted%s", - VTYNL); + vty_out (vty, "%% Only inactive VRFs can be deleted\n"); return CMD_WARNING; } @@ -938,7 +938,7 @@ vty_complete_command (struct vty *vty) vty_redraw_line (vty); break; case CMD_ERR_NO_MATCH: - /* vty_out (vty, "%% There is no matched command.%s", VTYNL); */ + /* vty_out (vty, "%% There is no matched command.\n"); */ vty_prompt (vty); vty_redraw_line (vty); break; |
