From 85721ef2aa6769e61b9339968d3a9aba01e2591e Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 16 Mar 2009 10:44:59 +0000 Subject: [PATCH] Back out part of last change git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1619 42af7a65-404d-4744-a932-0658087f49c3 --- net/uip/uip_chksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/uip/uip_chksum.c b/net/uip/uip_chksum.c index 45e8894b37d..abeb7e62922 100644 --- a/net/uip/uip_chksum.c +++ b/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;