mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 13:22:36 +01:00
Add warnings about bad sorter
This commit is contained in:
parent
deac1faf0b
commit
81068e45fa
BIN
fastnetmon
BIN
fastnetmon
Binary file not shown.
@ -1047,6 +1047,9 @@ void calculation_programm() {
|
||||
sorter = PACKETS;
|
||||
} else if (sort_parameter == "bytes") {
|
||||
sorter = BYTES;
|
||||
} else {
|
||||
cout<<"Unexpected sorter type: "<<sort_parameter<<endl;
|
||||
sorter = PACKETS;
|
||||
}
|
||||
|
||||
cout<<"FastNetMon v1.0 "<<"IPs ordered by: "<<sort_parameter<<" "<<"threshold is: "<<ban_threshold<<endl<<endl;
|
||||
|
Loading…
Reference in New Issue
Block a user