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

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netsniff-ng+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netsniff-ng/562d7e9800de18b9ea2be9c90f8d4c0aebe6c497.1630580470.git.baruch%40tkos.co.il.

Reply via email to