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

瀏覽次數:11 次
跳到第一則未讀訊息

Baruch Siach

未讀,
2021年9月2日 上午8:08:142021/9/2
收件者: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

未讀,
2021年9月2日 上午9:08:182021/9/2
收件者: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.
回覆所有人
回覆作者
轉寄
0 則新訊息