Skip to content

Commit 28fc7e4

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 645728f commit 28fc7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/DNSServer/src/DNSServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void DNSServer::_handleUDP(AsyncUDPPacket &pkt) {
126126

127127
bool DNSServer::requestIncludesOnlyOneQuestion(DNSHeader &dnsHeader) {
128128
dnsHeader.ARCount = 0; // We assume that if ARCount !=0 there is a EDNS OPT packet, just ignore
129-
return ntohs(dnsHeader.QDCount) == 1 && dnsHeader.ANCount == 0 && dnsHeader.NSCount == 0;
129+
return ntohs(dnsHeader.QDCount) == 1 && dnsHeader.ANCount == 0 && dnsHeader.NSCount == 0;
130130
}
131131

132132
String DNSServer::getDomainNameWithoutWwwPrefix(const unsigned char *start, size_t len) {

0 commit comments

Comments
 (0)