Skip to content

Commit 68509e7

Browse files
committed
Simplify requestQclass comparison
1 parent 53a9ecd commit 68509e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WiFiMdns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ bool MDNSResponder::parseRequest()
155155
requestDomainLength == sizeof(domain) && // domain length match
156156
memcmp_P(requestDomain, domain, requestDomainLength) == 0 && // suffix match
157157
requestQtype == 0x0001 && // request QType match
158-
(requestQclass == 0x0001 || requestQclass == 0x8001) ) { // request QClass match
158+
requestQclass == 0x0001) { // request QClass match
159159

160160
return true;
161161
}

0 commit comments

Comments
 (0)