mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-15 00:02:49 +03:00
Fixes for IPv6, added in CI (#5557)
This commit is contained in:
@ -74,10 +74,7 @@ AVRISPState_t ESP8266AVRISP::update() {
|
||||
if (_server.hasClient()) {
|
||||
_client = _server.available();
|
||||
_client.setNoDelay(true);
|
||||
ip_addr_t lip;
|
||||
lip.addr = _client.remoteIP();
|
||||
AVRISP_DEBUG("client connect %d.%d.%d.%d:%d", IP2STR(&lip), _client.remotePort());
|
||||
(void) lip; // Avoid unused warning when not in debug mode
|
||||
AVRISP_DEBUG("client connect %s:%d", _client.remoteIP().toString().c_str(), _client.remotePort());
|
||||
_client.setTimeout(100); // for getch()
|
||||
_state = AVRISP_STATE_PENDING;
|
||||
_reject_incoming();
|
||||
|
Reference in New Issue
Block a user