Merge pull request #1637 from simonduq/pr/rpl-default-lifetime
RPL default lifetime
This commit is contained in:
commit
24449e9cba
1 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@
|
|||
* used in RPL lifetime values, in seconds.
|
||||
*/
|
||||
#ifndef RPL_CONF_DEFAULT_LIFETIME_UNIT
|
||||
#define RPL_DEFAULT_LIFETIME_UNIT 0x60
|
||||
#define RPL_DEFAULT_LIFETIME_UNIT 60
|
||||
#else
|
||||
#define RPL_DEFAULT_LIFETIME_UNIT RPL_CONF_DEFAULT_LIFETIME_UNIT
|
||||
#endif
|
||||
|
@ -209,7 +209,7 @@
|
|||
* Default route lifetime as a multiple of the lifetime unit.
|
||||
*/
|
||||
#ifndef RPL_CONF_DEFAULT_LIFETIME
|
||||
#define RPL_DEFAULT_LIFETIME 0x30
|
||||
#define RPL_DEFAULT_LIFETIME 30
|
||||
#else
|
||||
#define RPL_DEFAULT_LIFETIME RPL_CONF_DEFAULT_LIFETIME
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue