Back out part of last change
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1619 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
770ceb2a9c
commit
2b2ef36410
|
@ -229,7 +229,7 @@ uint16 uip_udpchksum(struct uip_driver_s *dev)
|
|||
|
||||
/* Calculate the checksum of the ICMP message */
|
||||
|
||||
#if defined(CONFIG_NET_ICMP)
|
||||
#if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING)
|
||||
uint16 uip_icmpchksum(struct uip_driver_s *dev, int len)
|
||||
{
|
||||
struct uip_icmpip_hdr *picmp = ICMPBUF;
|
||||
|
|
Loading…
Reference in New Issue