1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc/routing/rpl
Martine Lenders 63cc5f6751
gnrc_rpl: fix corner cases in sec/ms conversion in prefix lifetimes
Two edge cases were previously missed:

1. Infinite should stay infinite. Prefixes with infinite lifetimes
   should be advertised as such. Likewise, should prefixes with
   infinite lifetimes be added to the prefix list as such
2. Prefixes with lifetimes > (UINT32_MAX - 1) / 1000 should have the
   longest possible lifetime below infinite (UINT32_MAX - 1)

This fixes that.
2017-11-24 13:45:26 +01:00
..
gnrc_rpl_internal Merge pull request #6901 from BytesGalore/rpl_drop_dao_ack_on_mc 2017-05-30 21:28:58 +02:00
p2p rpl: replace fib with nib 2017-11-20 00:35:17 +01:00
srh gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
gnrc_rpl_auto_init.c gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
gnrc_rpl_control_messages.c gnrc_rpl: fix corner cases in sec/ms conversion in prefix lifetimes 2017-11-24 13:45:26 +01:00
gnrc_rpl_dodag.c gnrc_rpl: remove redundant iface variable 2017-11-24 00:20:32 +01:00
gnrc_rpl_of_manager.c gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
gnrc_rpl_validation.c gnrc_rpl: separate validation from msg handling 2016-06-01 09:05:24 +02:00
gnrc_rpl.c gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
Makefile gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
of0.c rpl: Sort list of parents 2017-08-22 16:03:16 +02:00
of0.h gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00