mirror of
https://github.com/mfontanini/libtins
synced 2026-01-22 18:25:57 +01:00
Remove "+ 1" for MAX_RADIOTAP_FIELD.
current_flags_ starts from 0.
This commit is contained in:
@@ -65,7 +65,7 @@ const RadioTapParser::FieldMetadata RadioTapParser::RADIOTAP_METADATA[] = {
|
||||
};
|
||||
|
||||
const uint32_t RadioTapParser::MAX_RADIOTAP_FIELD = sizeof(RADIOTAP_METADATA) /
|
||||
sizeof(FieldMetadata) + 1;
|
||||
sizeof(FieldMetadata);
|
||||
|
||||
#if TINS_IS_LITTLE_ENDIAN
|
||||
TINS_BEGIN_PACK
|
||||
|
||||
Reference in New Issue
Block a user