aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorJoakim Karlsson <oakimk@gmail.com>2022-12-28 10:48:34 +0100
committerAndersBroman <a.broman58@gmail.com>2022-12-30 02:09:55 +0000
commit2ce57fcc19ba9b93bc88b0dac9008156d5fe5c8f (patch)
tree152d3355a8809abb44a8be55192963f865b7e9eb /epan
parent5c151df3ad8b7add58fc72b7859ec555cfde2eaf (diff)
pfcp: correction of IE 5GS User Plane Node
Fix #18760
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-pfcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-pfcp.c b/epan/dissectors/packet-pfcp.c
index 24f834a7dd..9bd59b1399 100644
--- a/epan/dissectors/packet-pfcp.c
+++ b/epan/dissectors/packet-pfcp.c
@@ -7077,8 +7077,8 @@ dissect_pfcp_5gs_user_plane_node(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
// Bit 1 – BID: If this bit is set to "1", then the Use Plane value field shall be present,
// The Bridge ID value is defined in IEEE.802.1Q clause 14.2.5 and value shall be encoded as an Unisigned64 binary integer.
if ((flags_val & 0x1)) {
- proto_tree_add_item(tree, hf_pfcp_5gs_user_plane_node_value, tvb, offset, 6, ENC_NA);
- offset += 6;
+ proto_tree_add_item(tree, hf_pfcp_5gs_user_plane_node_value, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
}
if (offset < length) {
@@ -13955,7 +13955,7 @@ proto_register_pfcp(void)
},
{ &hf_pfcp_5gs_user_plane_node_value,
{ "Use Plane Node value", "pfcp.5gs_user_plane_node.value",
- FT_BYTES, BASE_NONE, NULL, 0x0,
+ FT_UINT64, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},