mirror of
https://github.com/jrbrtsn/ban2fail
synced 2024-06-20 13:58:02 +00:00
Improved by-address report
This commit is contained in:
parent
e9f10b7cf5
commit
0dbb96cc78
@ -86,7 +86,7 @@ struct Global G= {
|
|||||||
.version= {
|
.version= {
|
||||||
.major= 0,
|
.major= 0,
|
||||||
.minor= 9,
|
.minor= 9,
|
||||||
.patch= 6
|
.patch= 7
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -376,9 +376,10 @@ main(int argc, char **argv)
|
|||||||
/* Print out only for list option */
|
/* Print out only for list option */
|
||||||
if(G.flags & GLB_LIST_ADDR_FLG) {
|
if(G.flags & GLB_LIST_ADDR_FLG) {
|
||||||
|
|
||||||
ez_fprintf(stdout, "%-15s: %5u offenses %s (%s)\n"
|
ez_fprintf(stdout, "%-15s: %5u / %u\t offenses %s (%s)\n"
|
||||||
, e->addr
|
, e->addr
|
||||||
, e->count
|
, e->count
|
||||||
|
, nAllowed
|
||||||
, e->cntry[0] ? e->cntry : "--"
|
, e->cntry[0] ? e->cntry : "--"
|
||||||
, bits2str(flags, BlockBitTuples)
|
, bits2str(flags, BlockBitTuples)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user