mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
lowpan6.c: fix unuinitialized variable if LWIP_6LOWPAN_IPHC==0
This commit is contained in:
parent
fe25ca66af
commit
eaa8f34f6a
@ -383,6 +383,7 @@ lowpan6_frag(struct netif *netif, struct pbuf *p, const struct lowpan6_link_addr
|
|||||||
#else /* LWIP_6LOWPAN_IPHC */
|
#else /* LWIP_6LOWPAN_IPHC */
|
||||||
/* Send uncompressed IPv6 header with appropriate dispatch byte. */
|
/* Send uncompressed IPv6 header with appropriate dispatch byte. */
|
||||||
lowpan6_header_len = 1;
|
lowpan6_header_len = 1;
|
||||||
|
hidden_header_len = 0;
|
||||||
buffer[ieee_header_len] = 0x41; /* IPv6 dispatch */
|
buffer[ieee_header_len] = 0x41; /* IPv6 dispatch */
|
||||||
#endif /* LWIP_6LOWPAN_IPHC */
|
#endif /* LWIP_6LOWPAN_IPHC */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user