mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-05 23:06:31 +02:00
Because QName max. size is 256, the QNameLength range must be able to address it. Therefore the datatype was changed to uint16_t. (#6354)
This commit is contained in:
@ -67,7 +67,7 @@ struct DNSHeader
|
|||||||
struct DNSQuestion
|
struct DNSQuestion
|
||||||
{
|
{
|
||||||
uint8_t QName[256] ; //need 1 Byte for zero termination!
|
uint8_t QName[256] ; //need 1 Byte for zero termination!
|
||||||
uint8_t QNameLength ;
|
uint16_t QNameLength ;
|
||||||
uint16_t QType ;
|
uint16_t QType ;
|
||||||
uint16_t QClass ;
|
uint16_t QClass ;
|
||||||
} ;
|
} ;
|
||||||
|
Reference in New Issue
Block a user