Unverified Commit bf58ab65 authored by Andreas Merkle's avatar Andreas Merkle Committed by GitHub

Because QName max. size is 256, the QNameLength range must be able to address...

Because QName max. size is 256, the QNameLength range must be able to address it. Therefore the datatype was changed to uint16_t. (#6354)
parent c2802257
......@@ -67,7 +67,7 @@ struct DNSHeader
struct DNSQuestion
{
uint8_t QName[256] ; //need 1 Byte for zero termination!
uint8_t QNameLength ;
uint16_t QNameLength ;
uint16_t QType ;
uint16_t QClass ;
} ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment