diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-01-05 16:44:46 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-01-05 16:44:46 +0100 |
commit | 06a1eb3e6714575ffd47fe35a95b27bdb77e3187 (patch) | |
tree | c4bd180b71dbaf04e43b95bcae77534e81381159 | |
parent | 9ece0fe0209673d2f3f7f4f3e3738dfa7ec1873b (diff) |
trafgen: Fix typo of kbit in usage and manpage
Use 'kbit' instead of kBit in usage and manpage to actually reflect what
trafgen expects.
Fixes: 9ece0fe02096 ("trafgen: Add option to specify packets sending rate")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | trafgen.8 | 2 | ||||
-rw-r--r-- | trafgen.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -137,7 +137,7 @@ patterns. Furthermore, the TX_RING interface does not cope with interpacket gaps. .PP .SS -b <rate>, --rate <rate> -Specify the packet send rate <num>pps/B/kB/MB/GB/kBit/Mbit/Gbit/KiB/MiB/GiB units. +Specify the packet send rate <num>pps/B/kB/MB/GB/kbit/Mbit/Gbit/KiB/MiB/GiB units. Like with the -t,--gap option, the packets are sent in slow mode. .PP .SS -S <size>, --ring-size <size> @@ -195,7 +195,7 @@ static void __noreturn help(void) " -r|--rand Randomize packet selection (def: round robin)\n" " -P|--cpus <uint> Specify number of forks(<= CPUs) (def: #CPUs)\n" " -t|--gap <time> Set approx. interpacket gap (s/ms/us/ns, def: us)\n" - " -b|--rate <rate> Send traffic at specified rate (pps/B/kB/MB/GB/kBit/Mbit/Gbit/KiB/MiB/GiB)\n" + " -b|--rate <rate> Send traffic at specified rate (pps/B/kB/MB/GB/kbit/Mbit/Gbit/KiB/MiB/GiB)\n" " -S|--ring-size <size> Manually set mmap size (KiB/MiB/GiB)\n" " -E|--seed <uint> Manually set srand(3) seed\n" " -u|--user <userid> Drop privileges and change to userid\n" |