summaryrefslogtreecommitdiffstats
path: root/extras/packetforge
diff options
context:
space:
mode:
authorTing Xu <ting.xu@intel.com>2023-01-18 04:22:00 +0000
committerFan Zhang <fanzhang.oss@gmail.com>2023-02-02 09:30:24 +0000
commit02bdd3f5cb0f2ff4988f972f31fb44da89fd786e (patch)
treec0121f248ffa2b81caba7e090485ffda35ceb65c /extras/packetforge
parent231a3659abda32d12f5599f3dd15be6e3a4f0ab8 (diff)
packetforge: fix order of dst/src address of mac
In the defination of mac node, the order of dst and src address is reversed. Swap their order in this patch. Type: fix Signed-off-by: Ting Xu <ting.xu@intel.com> Change-Id: I039accc0a881eef12f13c75c5becf8b7df97d525
Diffstat (limited to 'extras/packetforge')
-rw-r--r--extras/packetforge/parsegraph/nodes/mac.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/packetforge/parsegraph/nodes/mac.json b/extras/packetforge/parsegraph/nodes/mac.json
index 6fc49096889..fab690b559d 100644
--- a/extras/packetforge/parsegraph/nodes/mac.json
+++ b/extras/packetforge/parsegraph/nodes/mac.json
@@ -3,13 +3,13 @@
"name" : "mac",
"layout" : [
{
- "name" : "src",
+ "name" : "dst",
"size" : "48",
"format" : "mac",
"default" : "00:00:00:00:00:01"
},
{
- "name" : "dst",
+ "name" : "src",
"size" : "48",
"format" : "mac",
"default" : "00:00:00:00:00:02"