From 94cbed509619342efe3f4267764be7bf67819ef3 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 14 Mar 2010 12:35:30 +0000 Subject: [PATCH] Corrected comment --- src/core/udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/udp.c b/src/core/udp.c index 5a20cc67..2ccf0d68 100644 --- a/src/core/udp.c +++ b/src/core/udp.c @@ -506,7 +506,7 @@ udp_sendto_if(struct udp_pcb *pcb, struct pbuf *p, if (udphdr->chksum == 0x0000) { udphdr->chksum = 0xffff; } -#endif /* CHECKSUM_CHECK_UDP */ +#endif /* CHECKSUM_GEN_UDP */ /* output to IP */ LWIP_DEBUGF(UDP_DEBUG, ("udp_send: ip_output_if (,,,,IP_PROTO_UDPLITE,)\n")); #if LWIP_NETIF_HWADDRHINT @@ -530,7 +530,7 @@ udp_sendto_if(struct udp_pcb *pcb, struct pbuf *p, udphdr->chksum = 0xffff; } } -#endif /* CHECKSUM_CHECK_UDP */ +#endif /* CHECKSUM_GEN_UDP */ LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP checksum 0x%04"X16_F"\n", udphdr->chksum)); LWIP_DEBUGF(UDP_DEBUG, ("udp_send: ip_output_if (,,,,IP_PROTO_UDP,)\n")); /* output to IP */