[PATCH] trafgen: Fix documentation for seqinc and seqdec

5 views
Skip to first unread message

Sean Anderson

unread,
Dec 7, 2021, 2:55:48 PM12/7/21
to netsn...@googlegroups.com, Tobias Klauser, Daniel Borkmann, Sean Anderson
These functions take the "times" argument as the second parameter, not
the third.

Fixes: 00e83a5 ("man: trafgen: finish syntax section")
Signed-off-by: Sean Anderson <sean.a...@seco.com>
---

trafgen.8 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/trafgen.8 b/trafgen.8
index 0b0fb31..5191872 100644
--- a/trafgen.8
+++ b/trafgen.8
@@ -271,8 +271,8 @@ to write configurations:
byte fill function: fill(<content>, <times>): fill(0xca, 128)
compile-time random: rnd(<times>): rnd(128), rnd()
runtime random numbers: drnd(<times>): drnd(128), drnd()
- compile-time counter: seqinc(<start-val>, <increment>, <times>)
- seqdec(<start-val>, <decrement>, <times>)
+ compile-time counter: seqinc(<start-val>, <times>, <increment>)
+ seqdec(<start-val>, <times>, <decrement>)
runtime counter (1byte): dinc(<min-val>, <max-val>, <increment>)
ddec(<min-val>, <max-val>, <decrement>)
.PP
--
2.25.1

Tobias Klauser

unread,
Dec 9, 2021, 9:15:40 AM12/9/21
to Sean Anderson, netsn...@googlegroups.com, Daniel Borkmann
On 2021-12-07 at 20:55:10 +0100, Sean Anderson <sean.a...@seco.com> wrote:
> These functions take the "times" argument as the second parameter, not
> the third.
>
> Fixes: 00e83a5 ("man: trafgen: finish syntax section")
> Signed-off-by: Sean Anderson <sean.a...@seco.com>

Applied, thank you!
Reply all
Reply to author
Forward
0 new messages