8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73d36bb commit ea4720bCopy full SHA for ea4720b
libraries/ESP8266mDNS/ESP8266mDNS.cpp
@@ -551,7 +551,8 @@ void MDNSResponder::_parsePacket(){
551
if (tmp8 & 0xC0) { // Compressed pointer
552
uint16_t offset = ((((uint16_t)tmp8) & ~0xC0) << 8) | _conn_read8();
553
if (_conn->isValidOffset(offset)) {
554
- last_bufferpos = _conn->tell();
+ if (0 == last_bufferpos)
555
+ last_bufferpos = _conn->tell();
556
#ifdef DEBUG_ESP_MDNS_RX
557
DEBUG_ESP_PORT.print("Compressed pointer, jumping from ");
558
DEBUG_ESP_PORT.print(last_bufferpos);
0 commit comments