]> granicus.if.org Git - esp-idf/commitdiff
lwip: Expose broadcast/multicast ping enable options in menuconfig
authorAngus Gratton <angus@espressif.com>
Wed, 7 Jun 2017 07:26:05 +0000 (17:26 +1000)
committerAngus Gratton <gus@projectgus.com>
Fri, 23 Jun 2017 06:15:00 +0000 (16:15 +1000)
components/lwip/Kconfig
components/lwip/include/lwip/port/lwipopts.h

index 06becb7f3dfc859b724f79e88a58c3e215fb82af..436d0839364ab2a24430be27c455d3f4ce9a53b1 100644 (file)
@@ -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
index 3b8c5485c41a0bdadd2e68ef0b3f6063271a9a32..10b0dd7c7cb8148abcee26e11e8bb09f814c3fe5 100644 (file)
    ----------------------------------
 */
 
+#define LWIP_BROADCAST_PING CONFIG_LWIP_BROADCAST_PING
+
+#define LWIP_MULTICAST_PING CONFIG_LWIP_MULTICAST_PING
+
 /*
    ---------------------------------
    ---------- RAW options ----------