X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/aabf1d3fe915334f5ffab9b8e1076917add14358..2b05f31dc724539454f67ea09fb2bd04e5a51e40:/cli.c diff --git a/cli.c b/cli.c index e017ff5..dcde349 100644 --- a/cli.c +++ b/cli.c @@ -2,7 +2,7 @@ // vim: sw=8 ts=8 char const *cvs_name = "$Name: $"; -char const *cvs_id_cli = "$Id: cli.c,v 1.64 2005-07-31 10:04:09 bodea Exp $"; +char const *cvs_id_cli = "$Id: cli.c,v 1.66 2005-09-01 06:59:06 bodea Exp $"; #include #include @@ -412,7 +412,7 @@ static int cmd_show_session(struct cli_def *cli, char *command, char **argv, int switch (session[s].ppp.phase) { case Establish: - cli_print(cli, "\tLCP state:\t%s", ppp_state(session[s].ppp.lcp)); + cli_print(cli, "\t LCP state:\t%s", ppp_state(session[s].ppp.lcp)); break; case Authenticate: @@ -1938,7 +1938,7 @@ int regular_stuff(struct cli_def *cli) if (!show) continue; if (!(p = strchr(m, '\n'))) - p = m + strlen(p); + p = m + strlen(m); cli_error(cli, "\r%s-%u-%u %.*s", debug_levels[(int)ringbuffer->buffer[i].level],