summaryrefslogtreecommitdiffstats
path: root/extras/packetforge
diff options
context:
space:
mode:
authorTing Xu <ting.xu@intel.com>2022-09-29 13:50:55 +0800
committerDave Wallace <dwallacelf@gmail.com>2022-10-25 02:07:35 +0000
commitc9d916c7cc312d2396985f5cb83bcfdb98c98a1f (patch)
tree0d6389f0cee429442ef1b09e10e673f6d12fd4a8 /extras/packetforge
parent938bff8084d6f79b368fabd4a60b49117cad11be (diff)
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
Diffstat (limited to 'extras/packetforge')
-rw-r--r--extras/packetforge/packetforge.py2
-rw-r--r--extras/packetforge/parsegraph/nodes/gtppsc.json6
2 files changed, 6 insertions, 2 deletions
diff --git a/extras/packetforge/packetforge.py b/extras/packetforge/packetforge.py
index 6a419bc7c4f..4f149dcd046 100644
--- a/extras/packetforge/packetforge.py
+++ b/extras/packetforge/packetforge.py
@@ -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":
diff --git a/extras/packetforge/parsegraph/nodes/gtppsc.json b/extras/packetforge/parsegraph/nodes/gtppsc.json
index d6814be503c..bf0ac11376f 100644
--- a/extras/packetforge/parsegraph/nodes/gtppsc.json
+++ b/extras/packetforge/parsegraph/nodes/gtppsc.json
@@ -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"
}
]
}