diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl.c b/sys/net/gnrc/routing/rpl/gnrc_rpl.c index 10bd8526cc..498afd6042 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl.c @@ -259,7 +259,7 @@ void _update_lifetime(void) parent = &gnrc_rpl_parents[i]; if (parent->state != 0) { if (parent->lifetime > GNRC_RPL_LIFETIME_UPDATE_STEP) { - if (parent->lifetime > (2 * GNRC_RPL_LIFETIME_UPDATE_STEP)) { + if (parent->lifetime <= (2 * GNRC_RPL_LIFETIME_UPDATE_STEP)) { gnrc_rpl_send_DIS(parent->dodag->instance, &parent->addr); } parent->lifetime -= GNRC_RPL_LIFETIME_UPDATE_STEP;