Fix RPL default lifetime

This commit is contained in:
Simon Duquennoy 2016-04-27 17:04:29 +02:00
parent 5b5f07ba52
commit ace607a32d

View file

@ -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