pfcp: correction of length
authorJoakim Karlsson <oakimk@gmail.com>
Fri, 6 Apr 2018 17:05:31 +0000 (19:05 +0200)
committerAnders Broman <a.broman58@gmail.com>
Wed, 11 Apr 2018 06:21:41 +0000 (06:21 +0000)
flags are uint8 but the whole list was set as uint16

Change-Id: I8726fe533253fd1339351f581e7a2fe01c0edce2
Reviewed-on: https://code.wireshark.org/review/26849
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Matej Tkac <matej.tkac.mt@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-pfcp.c

index 8fa622471f32205d7c443d95269db3bb5ae29560..619c7ebe0208ec0a9504d9539c9cb3eb64ba9e97 100644 (file)
@@ -4812,7 +4812,7 @@ proto_register_pfcp(void)
         },
         { &hf_pfcp_reporting_triggers,
         { "Flags", "pfcp.reporting_triggers_flags",
-            FT_UINT16, BASE_HEX, NULL, 0x0,
+            FT_UINT8, BASE_HEX, NULL, 0x0,
             NULL, HFILL }
         },
         { &hf_pfcp_reporting_triggers_o5_b0_perio,
@@ -4873,7 +4873,7 @@ proto_register_pfcp(void)
 
         { &hf_pfcp_usage_report_trigger,
         { "Flags", "pfcp.usage_report_trigger",
-            FT_UINT16, BASE_HEX, NULL, 0x0,
+            FT_UINT8, BASE_HEX, NULL, 0x0,
             NULL, HFILL }
         },