nshlib: fix size of 6LoWPAN extended address.
This commit is contained in:
parent
7bee5ecec5
commit
2f975e8f06
@ -279,7 +279,7 @@ static void nsh_set_macaddr(void)
|
|||||||
#if defined(CONFIG_NET_ETHERNET)
|
#if defined(CONFIG_NET_ETHERNET)
|
||||||
uint8_t mac[IFHWADDRLEN];
|
uint8_t mac[IFHWADDRLEN];
|
||||||
#elif defined(CONFIG_NET_6LOWPAN)
|
#elif defined(CONFIG_NET_6LOWPAN)
|
||||||
uint8_t eaddr[NET_6LOWPAN_ADDRSIZE];
|
uint8_t eaddr[8];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Many embedded network interfaces must have a software assigned MAC */
|
/* Many embedded network interfaces must have a software assigned MAC */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user