"Skip \"Building configuration...\" header\n")
{
unsigned int i;
- char line[] = "do write terminal\n";
+ char line[] = "do write terminal";
if (!strcmp(argv[argc - 1]->arg, "no-header"))
argc--;
int vtysh_write_config_integrated(void)
{
unsigned int i;
- char line[] = "do write terminal\n";
+ char line[] = "do write terminal";
FILE *fp;
int fd;
#ifdef FRR_USER
"Write configuration to the file (same as write memory)\n")
{
int ret = CMD_SUCCESS;
- char line[] = "do write memory\n";
+ char line[] = "do write memory";
unsigned int i;
vty_out(vty, "Note: this version of vtysh never writes vtysh.conf\n");
"Receive log messages to active VTY session\n"
DAEMONS_STR)
{
- static const char line[] = "terminal monitor\n";
+ static const char line[] = "terminal monitor";
int ret_all = CMD_SUCCESS, ret, fd;
size_t i, ok = 0;
"Receive log messages to active VTY session\n"
DAEMONS_STR)
{
- static const char line[] = "no terminal monitor\n";
+ static const char line[] = "no terminal monitor";
int ret_all = CMD_SUCCESS, ret;
size_t i, ok = 0;