OBEX: Fix mismatching API/item-type for some subtree items.

These are the final issues currently seen by check_typed_item_calls.py

Error: proto_tree_add_none_format(.., hf_authentication_parameter, ...) called at epan/dissectors/packet-obex.c:1840 with type FT_UINT8
    (allowed types are {'FT_NONE'} )

Error: proto_tree_add_none_format(.., hf_authentication_parameter, ...) called at epan/dissectors/packet-obex.c:1887 with type FT_UINT8
    (allowed types are {'FT_NONE'} )

Error: proto_tree_add_none_format(.., hf_session_parameter, ...) called at epan/dissectors/packet-obex.c:2058 with type FT_UINT8
    (allowed types are {'FT_NONE'} )

Change-Id: If6772a72e01c7afd774a7b673d5775fd598bace3
Reviewed-on: https://code.wireshark.org/review/38095
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
This commit is contained in:
Martin Mathieson 2020-08-09 12:46:09 +01:00 committed by Martin Mathieson
parent e43e6e6897
commit d7f7b62ef3
1 changed files with 2 additions and 2 deletions

View File

@ -2722,7 +2722,7 @@ proto_register_obex(void)
},
{ &hf_session_parameter,
{ "Session Parameter", "obex.session",
FT_UINT8, BASE_HEX, NULL, 0x00,
FT_NONE, BASE_NONE, NULL, 0x00,
NULL, HFILL}
},
{ &hf_session_parameter_data,
@ -2767,7 +2767,7 @@ proto_register_obex(void)
},
{ &hf_authentication_parameter,
{ "Authentication Parameter", "obex.authentication",
FT_UINT8, BASE_HEX, NULL, 0x00,
FT_NONE, BASE_NONE, NULL, 0x00,
NULL, HFILL}
},
{ &hf_authentication_parameter_data,