aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorBernhard Dick <bernhard@bdick.de>2022-12-27 16:33:52 +0100
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2022-12-29 09:05:29 +0000
commit4a0d7e9bbbd39155f3daa3e12b3a5c856792f391 (patch)
tree10ccc2b3cbaf2b80bb4b21324f6c8e09f1801b37 /epan
parent1d6cf2f51383957e2ddacb51b3295810e988cc12 (diff)
DECT-NWK: Fix hf types for bitfields
Bitfields are neither allowed to be of type FT_NONE or FT_UINT_BYTES. This commit fixes this for padding fields (being max 7 bits of zeroes, thus FT_UINT8) and one field currently named as FT_UINT_BYTES that can just be represented as FT_BYTES
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dect-nwk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-dect-nwk.c b/epan/dissectors/packet-dect-nwk.c
index a0cd173ba4..7e32fd21f1 100644
--- a/epan/dissectors/packet-dect-nwk.c
+++ b/epan/dissectors/packet-dect-nwk.c
@@ -3093,7 +3093,7 @@ void proto_register_dect_nwk(void)
{ "ARD", "dect_nwk.s.ie.fixed_identity.ard", FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL }
},
{ &hf_dect_nwk_s_ie_fixed_identity_padding,
- { "Padding", "dect_nwk.s.ie.fixed_identity.padding", FT_NONE, BASE_NONE,
+ { "Padding", "dect_nwk.s.ie.fixed_identity.padding", FT_UINT8, BASE_HEX,
NULL, 0x0, NULL, HFILL
}
},
@@ -3189,10 +3189,10 @@ void proto_register_dect_nwk(void)
}
},
{ &hf_dect_nwk_s_ie_nwk_assigned_identity_value,
- { "Value", "dect_nwk.s.ie.nwk_assigned_identity.value", FT_UINT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }
+ { "Value", "dect_nwk.s.ie.nwk_assigned_identity.value", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_dect_nwk_s_ie_nwk_assigned_identity_padding,
- { "Padding", "dect_nwk.s.ie.nwk_assigned_identity.padding", FT_NONE, BASE_NONE,
+ { "Padding", "dect_nwk.s.ie.nwk_assigned_identity.padding", FT_UINT8, BASE_HEX,
NULL, 0x0, NULL, HFILL
}
},
@@ -3257,7 +3257,7 @@ void proto_register_dect_nwk(void)
NULL, 0, "Credit Card ACount Number", HFILL }
},
{ &hf_dect_nwk_s_ie_portable_identity_padding,
- { "Padding", "dect_nwk.s.ie.portable_identity.padding", FT_NONE, BASE_NONE,
+ { "Padding", "dect_nwk.s.ie.portable_identity.padding", FT_UINT8, BASE_HEX,
NULL, 0x0, NULL, HFILL
}
},