added configuration of DAO route refresh for broadcast DIOs

This commit is contained in:
Joakim Eriksson 2015-08-24 11:13:05 +02:00
parent f4255fad0f
commit fa1b70b723

View File

@ -515,7 +515,7 @@ dio_output(rpl_instance_t *instance, uip_ipaddr_t *uc_addr)
buffer[pos++] = instance->dtsn_out;
if(uc_addr == NULL) {
if(RPL_DIO_REFRESH_DAO_ROUTES && uc_addr == NULL) {
/* Request new DAO to refresh route. We do not do this for unicast DIO
* in order to avoid DAO messages after a DIS-DIO update,
* or upon unicast DIO probing. */