summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-01-05 16:44:46 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-01-05 16:44:46 +0100
commit06a1eb3e6714575ffd47fe35a95b27bdb77e3187 (patch)
treec4bd180b71dbaf04e43b95bcae77534e81381159
parent9ece0fe0209673d2f3f7f4f3e3738dfa7ec1873b (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.82
-rw-r--r--trafgen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/trafgen.8 b/trafgen.8
index 57ce8fa..ce82a5b 100644
--- a/trafgen.8
+++ b/trafgen.8
@@ -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>
diff --git a/trafgen.c b/trafgen.c
index a1d5463..798b5ff 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -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"