summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2021-09-02 14:01:10 +0300
committerTobias Klauser <tklauser@distanz.ch>2021-09-02 15:06:14 +0200
commit2d4ab8e509f8e7a77f75518767873af39b3f79ca (patch)
tree89dbf0376cee187cd322eba33c2eec5e08a12d75
parent194ec61843b9598ce90873c812b817c4b96e2e0d (diff)
trafgen.8: fix typo in example packet
First MAC address is destination, but the second is source. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--trafgen.82
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen.8 b/trafgen.8
index 97b9479..0b0fb31 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 ---