packetforge: fix order of dst/src address of mac 93/38093/2
authorTing Xu <ting.xu@intel.com>
Wed, 18 Jan 2023 04:22:00 +0000 (04:22 +0000)
committerFan Zhang <fanzhang.oss@gmail.com>
Thu, 2 Feb 2023 09:30:24 +0000 (09:30 +0000)
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

extras/packetforge/parsegraph/nodes/mac.json

index 6fc4909..fab690b 100644 (file)
@@ -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"