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
This commit is contained in:
Ting Xu
2023-01-18 04:22:00 +00:00
committed by Fan Zhang
parent 231a3659ab
commit 02bdd3f5cb

View File

@ -3,13 +3,13 @@
"name" : "mac", "name" : "mac",
"layout" : [ "layout" : [
{ {
"name" : "src", "name" : "dst",
"size" : "48", "size" : "48",
"format" : "mac", "format" : "mac",
"default" : "00:00:00:00:00:01" "default" : "00:00:00:00:00:01"
}, },
{ {
"name" : "dst", "name" : "src",
"size" : "48", "size" : "48",
"format" : "mac", "format" : "mac",
"default" : "00:00:00:00:00:02" "default" : "00:00:00:00:00:02"