Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bf58ab6

Browse filesBrowse files
authored
Because QName max. size is 256, the QNameLength range must be able to address it. Therefore the datatype was changed to uint16_t. (espressif#6354)
1 parent c280225 commit bf58ab6
Copy full SHA for bf58ab6

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎libraries/DNSServer/src/DNSServer.h

Copy file name to clipboardExpand all lines: libraries/DNSServer/src/DNSServer.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct DNSHeader
6767
struct DNSQuestion
6868
{
6969
uint8_t QName[256] ; //need 1 Byte for zero termination!
70-
uint8_t QNameLength ;
70+
uint16_t QNameLength ;
7171
uint16_t QType ;
7272
uint16_t QClass ;
7373
} ;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.