projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9a29431
)
cosmetic
author
Brendan O'Dea
<bod@optus.net>
Wed, 1 Dec 2004 02:51:06 +0000
(
02:51
+0000)
committer
Brendan O'Dea
<bod@optus.net>
Wed, 1 Dec 2004 02:51:06 +0000
(
02:51
+0000)
cli.c
patch
|
blob
|
history
diff --git
a/cli.c
b/cli.c
index
24e9115
..
86751ea
100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-2,7
+2,7
@@
// vim: sw=8 ts=8
char const *cvs_name = "$Name: $";
// vim: sw=8 ts=8
char const *cvs_name = "$Name: $";
-char const *cvs_id_cli = "$Id: cli.c,v 1.3
7 2004-11-29 12:36:54
bodea Exp $";
+char const *cvs_id_cli = "$Id: cli.c,v 1.3
8 2004-12-01 02:51:06
bodea Exp $";
#include <stdio.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdarg.h>
@@
-1003,7
+1003,7
@@
static int cmd_show_radius(struct cli_def *cli, char *command, char **argv, int
NULL);
}
NULL);
}
- cli_print(cli, "%6s%
6
s%5s%6s%9s%9s%4s", "ID", "Radius", "Sock", "State", "Session", "Retry", "Try");
+ cli_print(cli, "%6s%
7
s%5s%6s%9s%9s%4s", "ID", "Radius", "Sock", "State", "Session", "Retry", "Try");
time(&time_now);
time(&time_now);
@@
-1019,7
+1019,7
@@
static int cmd_show_radius(struct cli_def *cli, char *command, char **argv, int
if (!show_all && radius[i].state == RADIUSNULL) continue;
if (!show_all && radius[i].state == RADIUSNULL) continue;
- cli_print(cli, "%6d%
6
d%5d%6s%9d%9u%4d",
+ cli_print(cli, "%6d%
7
d%5d%6s%9d%9u%4d",
i,
i >> RADIUS_SHIFT,
i & RADIUS_MASK,
i,
i >> RADIUS_SHIFT,
i & RADIUS_MASK,