1
0
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:
Pavel Odintsov 2014-06-22 14:59:11 +04:00
parent deac1faf0b
commit 81068e45fa
2 changed files with 3 additions and 0 deletions

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;