From: Angus Gratton Date: Wed, 7 Jun 2017 07:26:05 +0000 (+1000) Subject: lwip: Expose broadcast/multicast ping enable options in menuconfig X-Git-Tag: v3.0-dev^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ea0ddb02512083e3982c30aa2cc82324ec165ec;p=esp-idf lwip: Expose broadcast/multicast ping enable options in menuconfig --- diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 06becb7f3d..436d083936 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 3b8c5485c4..10b0dd7c7c 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 ----------