mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
changed default configuration of RPL route lifetime
This commit is contained in:
parent
ad0e624d01
commit
01930d4a64
@ -118,7 +118,7 @@
|
|||||||
#ifdef RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME
|
#ifdef RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME
|
||||||
#define RPL_DEFAULT_ROUTE_INFINITE_LIFETIME RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME
|
#define RPL_DEFAULT_ROUTE_INFINITE_LIFETIME RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME
|
||||||
#else
|
#else
|
||||||
#define RPL_DEFAULT_ROUTE_INFINITE_LIFETIME 0
|
#define RPL_DEFAULT_ROUTE_INFINITE_LIFETIME 1
|
||||||
#endif /* RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME */
|
#endif /* RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -200,7 +200,7 @@
|
|||||||
* used in RPL lifetime values, in seconds.
|
* used in RPL lifetime values, in seconds.
|
||||||
*/
|
*/
|
||||||
#ifndef RPL_CONF_DEFAULT_LIFETIME_UNIT
|
#ifndef RPL_CONF_DEFAULT_LIFETIME_UNIT
|
||||||
#define RPL_DEFAULT_LIFETIME_UNIT 0xffff
|
#define RPL_DEFAULT_LIFETIME_UNIT 0x60
|
||||||
#else
|
#else
|
||||||
#define RPL_DEFAULT_LIFETIME_UNIT RPL_CONF_DEFAULT_LIFETIME_UNIT
|
#define RPL_DEFAULT_LIFETIME_UNIT RPL_CONF_DEFAULT_LIFETIME_UNIT
|
||||||
#endif
|
#endif
|
||||||
@ -209,7 +209,7 @@
|
|||||||
* Default route lifetime as a multiple of the lifetime unit.
|
* Default route lifetime as a multiple of the lifetime unit.
|
||||||
*/
|
*/
|
||||||
#ifndef RPL_CONF_DEFAULT_LIFETIME
|
#ifndef RPL_CONF_DEFAULT_LIFETIME
|
||||||
#define RPL_DEFAULT_LIFETIME 0xff
|
#define RPL_DEFAULT_LIFETIME 0x30
|
||||||
#else
|
#else
|
||||||
#define RPL_DEFAULT_LIFETIME RPL_CONF_DEFAULT_LIFETIME
|
#define RPL_DEFAULT_LIFETIME RPL_CONF_DEFAULT_LIFETIME
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user