diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 06becb7f3..436d08393 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -139,4 +139,16 @@ config PPP_DEBUG_ON help Enable PPP debug log output +menu "ICMP" + +config LWIP_MULTICAST_PING + bool "Respond to multicast pings" + default n + +config LWIP_BROADCAST_PING + bool "Respond to broadcast pings" + default n + +endmenu # ICMP + endmenu diff --git a/components/lwip/include/lwip/port/lwipopts.h b/components/lwip/include/lwip/port/lwipopts.h index 3b8c5485c..10b0dd7c7 100644 --- a/components/lwip/include/lwip/port/lwipopts.h +++ b/components/lwip/include/lwip/port/lwipopts.h @@ -184,6 +184,10 @@ ---------------------------------- */ +#define LWIP_BROADCAST_PING CONFIG_LWIP_BROADCAST_PING + +#define LWIP_MULTICAST_PING CONFIG_LWIP_MULTICAST_PING + /* --------------------------------- ---------- RAW options ----------