packetforge: fix GTP-Extension header field data

Fix the incorrect fields data of GTP-Extension header.

Type: fix
Signed-off-by: Ting Xu <ting.xu@intel.com>
Change-Id: Iafc5e852910649afcf0e583a5513b1ab33f5b5e8
This commit is contained in:
Ting Xu
2022-09-29 13:50:55 +08:00
committed by Dave Wallace
parent 938bff8084
commit c9d916c7cc
2 changed files with 6 additions and 2 deletions

View File

@ -145,7 +145,7 @@ def GetMask(item):
if "format" in item:
format = item["format"]
if format == "mac":
mask = "ff.ff.ff.ff.ff.ff"
mask = "ff:ff:ff:ff:ff:ff"
elif format == "ipv4":
mask = "255.255.255.255"
elif format == "ipv6":

View File

@ -4,7 +4,7 @@
"layout" : [
{
"name" : "length",
"size" : "1",
"size" : "8",
"default" : "1",
"readonly" : "true"
},
@ -23,6 +23,10 @@
{
"name" : "qfi",
"size" : "6"
},
{
"name" : "nextext",
"size" : "8"
}
]
}