[PATCH] trafgen.8: fix typo in example packet

11 views
Skip to first unread message

Baruch Siach

unread,
Sep 2, 2021, 8:08:14 AM9/2/21
to netsn...@googlegroups.com, Tobias Klauser, Baruch Siach
First MAC address is destination, but the second is source.

Signed-off-by: Baruch Siach <bar...@tkos.co.il>
---
trafgen.8 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trafgen.8 b/trafgen.8
index 97b9479d4f62..0b0fb317ceed 100644
--- a/trafgen.8
+++ b/trafgen.8
@@ -914,7 +914,7 @@ The above example rewritten using the header generation functions:
.PP
{
# --- ethernet header ---
- eth(da=00:1b:21:3c:9d:f8, da=90:e2:ba:0a:56:b4)
+ eth(da=00:1b:21:3c:9d:f8, sa=90:e2:ba:0a:56:b4)
# --- ip header ---
ipv4(id=drnd(), mf, ttl=64, sa=192.168.51.1, da=192.168.51.2)
# --- udp header ---
--
2.33.0

Tobias Klauser

unread,
Sep 2, 2021, 9:08:18 AM9/2/21
to Baruch Siach, netsn...@googlegroups.com
On 2021-09-02 at 13:01:10 +0200, Baruch Siach <bar...@tkos.co.il> wrote:
> First MAC address is destination, but the second is source.
>
> Signed-off-by: Baruch Siach <bar...@tkos.co.il>

Applied, thanks.
Reply all
Reply to author
Forward
0 new messages