Changed neighbor notification to be default on when using RPL
This commit is contained in:
parent
e268b094d4
commit
ed4debe285
1 changed files with 6 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: sicslowpan.c,v 1.38 2010/05/05 13:07:45 joxe Exp $
|
||||
* $Id: sicslowpan.c,v 1.39 2010/05/11 10:02:29 nifi Exp $
|
||||
*/
|
||||
/**
|
||||
* \file
|
||||
|
@ -109,6 +109,11 @@ void uip_log(char *msg);
|
|||
#endif /* SICSLOWPAN_CONF_COMPRESSION */
|
||||
#endif /* SICSLOWPAN_COMPRESSION */
|
||||
|
||||
#ifndef SICSLOWPAN_CONF_NEIGHBOR_INFO
|
||||
/* Default is to use neighbor info updates if using RPL */
|
||||
#define SICSLOWPAN_CONF_NEIGHBOR_INFO UIP_CONF_IPV6_RPL
|
||||
#endif /* SICSLOWPAN_CONF_NEIGHBOR_INFO */
|
||||
|
||||
#define GET16(ptr,index) (((uint16_t)((ptr)[index] << 8)) | ((ptr)[(index) + 1]))
|
||||
#define SET16(ptr,index,value) do { \
|
||||
(ptr)[index] = ((value) >> 8) & 0xff; \
|
||||
|
|
Loading…
Reference in a new issue