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:
@ -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":
|
||||
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user