summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-03-16 10:44:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-03-16 10:44:59 +0000
commit6e9bf1a6fe1dd568800274f1484351071c486081 (patch)
treedd710e0e505a0fbfb016d48f021f9bd12c3de44b
parente562180e6fc70e9f933b0bb081d5b69859d04327 (diff)
downloadnuttx-6e9bf1a6fe1dd568800274f1484351071c486081.tar.gz
nuttx-6e9bf1a6fe1dd568800274f1484351071c486081.tar.bz2
nuttx-6e9bf1a6fe1dd568800274f1484351071c486081.zip
Back out part of last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1619 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/net/uip/uip_chksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/uip/uip_chksum.c b/nuttx/net/uip/uip_chksum.c
index 45e8894b3..abeb7e629 100644
--- a/nuttx/net/uip/uip_chksum.c
+++ b/nuttx/net/uip/uip_chksum.c
@@ -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;