aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorTing Xu <ting.xu@intel.com>2023-01-18 04:22:00 +0000
committerDave Wallace <dwallacelf@gmail.com>2023-02-08 02:21:01 +0000
commitc7131df87247cf37a259f7461148e9d54bae1f61 (patch)
tree3d09e6cce999a97acee1d1ece1866368cb0e7edb /extras
parenta641763c5fac4fe08688dc453d5c67319ab730d8 (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 (cherry picked from commit 02bdd3f5cb0f2ff4988f972f31fb44da89fd786e)
Diffstat (limited to 'extras')
-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"