Fix RPL default lifetime
This commit is contained in:
parent
5b5f07ba52
commit
ace607a32d
|
@ -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 0x60
|
#define RPL_DEFAULT_LIFETIME_UNIT 60
|
||||||
#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 0x30
|
#define RPL_DEFAULT_LIFETIME 30
|
||||||
#else
|
#else
|
||||||
#define RPL_DEFAULT_LIFETIME RPL_CONF_DEFAULT_LIFETIME
|
#define RPL_DEFAULT_LIFETIME RPL_CONF_DEFAULT_LIFETIME
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue