- TerminateAck fix from Yuri
- Adject cli_loop args for libcli 1.8.0 - Allow for backward compatabity in C_PING packets - Don't send RADIUS stop messages from sessionshutdown when called from sessionkill.
This commit is contained in:
parent
570d0d5385
commit
3ef237977d
5 changed files with 33 additions and 23 deletions
8
cli.c
8
cli.c
|
|
@ -2,7 +2,7 @@
|
|||
// vim: sw=4 ts=8
|
||||
|
||||
char const *cvs_name = "$Name: $";
|
||||
char const *cvs_id_cli = "$Id: cli.c,v 1.9 2004/07/08 16:54:35 bodea Exp $";
|
||||
char const *cvs_id_cli = "$Id: cli.c,v 1.10 2004/07/11 07:57:33 bodea Exp $";
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
|
@ -314,11 +314,7 @@ void cli_do(int sockfd)
|
|||
memset(&debug_flags, 0, sizeof(debug_flags));
|
||||
debug_flags.critical = 1;
|
||||
|
||||
{
|
||||
char prompt[1005];
|
||||
snprintf(prompt, 1005, "l2tpns> ");
|
||||
cli_loop(cli, sockfd, prompt);
|
||||
}
|
||||
cli_loop(cli, sockfd);
|
||||
|
||||
close(sockfd);
|
||||
log(3, 0, 0, 0, "Closed CLI connection\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue