mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Make comparison endian-safe, thanks Ivan.
This commit is contained in:
parent
53737d9a38
commit
11efc33d2c
@ -1935,7 +1935,8 @@ CCIF extern uip_lladdr_t uip_lladdr;
|
||||
(((a)->u16[4]) == 0) && \
|
||||
(((a)->u16[5]) == 0) && \
|
||||
(((a)->u16[6]) == 0) && \
|
||||
(((a)->u16[7]) == 1))
|
||||
(((a)->u8[14]) == 0) && \
|
||||
(((a)->u8[15]) == 0x01))
|
||||
/**
|
||||
* \brief Is IPv6 address a the unspecified address
|
||||
* a is of type uip_ipaddr_t
|
||||
|
Loading…
Reference in New Issue
Block a user