lwip: Expose broadcast/multicast ping enable options in menuconfig

This commit is contained in:
Angus Gratton 2017-06-07 17:26:05 +10:00 committed by Angus Gratton
parent a225064bfa
commit 1ea0ddb025
2 changed files with 16 additions and 0 deletions

View 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

View File

@ -184,6 +184,10 @@
----------------------------------
*/
#define LWIP_BROADCAST_PING CONFIG_LWIP_BROADCAST_PING
#define LWIP_MULTICAST_PING CONFIG_LWIP_MULTICAST_PING
/*
---------------------------------
---------- RAW options ----------