Added payload field to ICMP v4 header that was inadvertedly removed during the uIPv6 commits; automatic whitespace removal at line ends

This commit is contained in:
adamdunkels 2008-10-15 07:55:00 +00:00
parent 1ff0cc826e
commit 647443cb9d

View file

@ -47,7 +47,7 @@
* *
* This file is part of the uIP TCP/IP stack. * This file is part of the uIP TCP/IP stack.
* *
* $Id: uip.h,v 1.18 2008/10/14 09:40:56 julienabeille Exp $ * $Id: uip.h,v 1.19 2008/10/15 07:55:00 adamdunkels Exp $
* *
*/ */
@ -1615,6 +1615,7 @@ struct uip_icmpip_hdr {
u16_t icmpchksum; u16_t icmpchksum;
#if !UIP_CONF_IPV6 #if !UIP_CONF_IPV6
u16_t id, seqno; u16_t id, seqno;
u8_t payload[1];
#endif /* !UIP_CONF_IPV6 */ #endif /* !UIP_CONF_IPV6 */
}; };