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:
e6208f5
)
access-list rule counters are unsigned
author
bodea
<bodea>
Mon, 14 Nov 2005 20:19:08 +0000
(20:19 +0000)
committer
bodea
<bodea>
Mon, 14 Nov 2005 20:19:08 +0000
(20:19 +0000)
cli.c
patch
|
blob
|
history
diff --git
a/cli.c
b/cli.c
index
c2e0c13
..
34038ef
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.6
7 2005/11/14 09:49:01
bodea Exp $";
+char const *cvs_id_cli = "$Id: cli.c,v 1.6
8 2005/11/14 20:19:08
bodea Exp $";
#include <stdio.h>
#include <stddef.h>
#include <stdio.h>
#include <stddef.h>
@@
-3069,7
+3069,7
@@
static int cmd_show_access_list(struct cli_def *cli, char *command, char **argv,
{
char const *r = show_access_list_rule(ip_filters[f].extended, rules);
if (rules->counter)
{
char const *r = show_access_list_rule(ip_filters[f].extended, rules);
if (rules->counter)
- cli_print(cli, "%s (%
d
match%s)", r,
+ cli_print(cli, "%s (%
u
match%s)", r,
rules->counter, rules->counter > 1 ? "es" : "");
else
cli_print(cli, "%s", r);
rules->counter, rules->counter > 1 ? "es" : "");
else
cli_print(cli, "%s", r);