mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-25 23:52:51 +00:00
Corrected comment
This commit is contained in:
parent
f83ace2034
commit
94cbed5096
@ -506,7 +506,7 @@ udp_sendto_if(struct udp_pcb *pcb, struct pbuf *p,
|
|||||||
if (udphdr->chksum == 0x0000) {
|
if (udphdr->chksum == 0x0000) {
|
||||||
udphdr->chksum = 0xffff;
|
udphdr->chksum = 0xffff;
|
||||||
}
|
}
|
||||||
#endif /* CHECKSUM_CHECK_UDP */
|
#endif /* CHECKSUM_GEN_UDP */
|
||||||
/* output to IP */
|
/* output to IP */
|
||||||
LWIP_DEBUGF(UDP_DEBUG, ("udp_send: ip_output_if (,,,,IP_PROTO_UDPLITE,)\n"));
|
LWIP_DEBUGF(UDP_DEBUG, ("udp_send: ip_output_if (,,,,IP_PROTO_UDPLITE,)\n"));
|
||||||
#if LWIP_NETIF_HWADDRHINT
|
#if LWIP_NETIF_HWADDRHINT
|
||||||
@ -530,7 +530,7 @@ udp_sendto_if(struct udp_pcb *pcb, struct pbuf *p,
|
|||||||
udphdr->chksum = 0xffff;
|
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: UDP checksum 0x%04"X16_F"\n", udphdr->chksum));
|
||||||
LWIP_DEBUGF(UDP_DEBUG, ("udp_send: ip_output_if (,,,,IP_PROTO_UDP,)\n"));
|
LWIP_DEBUGF(UDP_DEBUG, ("udp_send: ip_output_if (,,,,IP_PROTO_UDP,)\n"));
|
||||||
/* output to IP */
|
/* output to IP */
|
||||||
|
Loading…
Reference in New Issue
Block a user