Skip to content

Commit ed860e6

Browse files
honghaier250hehongjie
andauthored
fix help message incorrect about rate control (#88)
Co-authored-by: hehongjie <hehj@koal.com>
1 parent 496bdd0 commit ed860e6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/rule_add/prog.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ int main(int argc, char *argv[])
9292
printf(" --max-len The maximum packet length to match.\n");
9393
printf(" --tos The IP Type of Service to match.\n\n");
9494

95-
printf(" --pps The minimum packet rate (per second) to match.\n");
96-
printf(" --bps The minimum byte rate (per second) to match\n\n");
95+
printf(" --ip-pps The minimum IP-level packet rate (per second) to match.\n");
96+
printf(" --ip-bps The minimum IP-level byte rate (per second) to match.\n");
97+
printf(" --flow-pps The minimum flow-level packet rate (per second) to match.\n");
98+
printf(" --flow-bps The minimum flow-level byte rate (per second) to match.\n\n");
9799

98100
printf(" --tcp Enable or disables matching on the TCP protocol.\n");
99101
printf(" --tsport The TCP source port to match on.\n");
@@ -527,4 +529,4 @@ int main(int argc, char *argv[])
527529
printf("Success! Exiting.\n");
528530

529531
return EXIT_SUCCESS;
530-
}
532+
}

0 commit comments

Comments
 (0)