From 7e27945e5ae8b28d18d075bcfdf7c2609d3a9aae Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Mon, 12 Dec 2022 23:07:14 +0100 Subject: [PATCH] ESP32 fix ``Ping`` (#17373) --- CHANGELOG.md | 1 + tasmota/tasmota_xdrv_driver/xdrv_38_ping.ino | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 089d76cf6..2596d09a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/tasmota/tasmota_xdrv_driver/xdrv_38_ping.ino b/tasmota/tasmota_xdrv_driver/xdrv_38_ping.ino index 25cbce72d..449b4d40e 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_38_ping.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_38_ping.ino @@ -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;