patch #6539: (configurable) response to broadcast- and multicast pings

This commit is contained in:
goldsimon
2009-02-16 20:24:29 +00:00
parent 14cb4eb735
commit e001a021d5
3 changed files with 43 additions and 8 deletions

View File

@@ -461,6 +461,20 @@
#define ICMP_TTL (IP_DEFAULT_TTL)
#endif
/**
* LWIP_BROADCAST_PING==1: respond to broadcast pings (default is unicast only)
*/
#ifndef LWIP_BROADCAST_PING
#define LWIP_BROADCAST_PING 0
#endif
/**
* LWIP_MULTICAST_PING==1: respond to multicast pings (default is unicast only)
*/
#ifndef LWIP_MULTICAST_PING
#define LWIP_MULTICAST_PING 0
#endif
/*
---------------------------------
---------- RAW options ----------