ESP32 fix ``Ping`` (#17373)

This commit is contained in:
s-hadinger 2022-12-12 23:07:14 +01:00 committed by GitHub
parent 9898cb0bed
commit 7e27945e5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file.
- RCSwitch exception 0/6 on some protocols (#17285)
- ESP32 exception 28 when RtcNtpServer is enabled on restart (#17338)
- Analog MQ exception 28 on restart (#17271)
- ESP32 fix ``Ping``
### Removed

View File

@ -172,7 +172,7 @@ extern "C" {
return 0; // don't eat the packet and ignore it
}
if (pbuf_header( p, -PBUF_IP_HLEN)==0) {
if (pbuf_header( p, -PBUF_TRANSPORT_HLEN)==0) {
struct icmp_echo_hdr *iecho;
iecho = (struct icmp_echo_hdr *)p->payload;