Simplified best_dag function and fixed the previous incomplete commit.

This commit is contained in:
nvt 2012-01-04 14:13:54 +01:00
parent f112fa99d5
commit d89a4ef4fd
2 changed files with 6 additions and 18 deletions

View file

@ -55,7 +55,7 @@
/*---------------------------------------------------------------------------*/
/** \brief Is IPv6 address addr the link-local, all-RPL-nodes
multicast address? */
#define uip_is_addr_linklocal_rplnodes_mcast(a) \
#define uip_is_addr_linklocal_rplnodes_mcast(addr) \
((addr)->u8[0] == 0xff) && \
((addr)->u8[1] == 0x02) && \
((addr)->u16[1] == 0) && \