Skip to content

Commit

Permalink
all for all data types
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Nov 13, 2024
1 parent 1bc4af5 commit aba4fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util/cbor.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static const char *cbor_type_to_str[8] = {
* number, which includes our data type. If the tag type doesn't match the value here, then something is
* wrong.
*/
static const uint64_t cbor_type_to_tag[FR_TYPE_MAX] = {
static const uint64_t cbor_type_to_tag[FR_TYPE_MAX + 1] = {
[FR_TYPE_DATE] = 1,
[FR_TYPE_ETHERNET] = 48,
[FR_TYPE_IPV4_ADDR] = 52,
Expand Down

0 comments on commit aba4fa9

Please sign in to comment.