Fix conditional compilation directive in uip-ds6.c
This commit is contained in:
parent
9e7927e415
commit
984c8e007b
|
@ -186,12 +186,12 @@ uip_ds6_periodic(void)
|
||||||
|
|
||||||
uip_ds6_neighbor_periodic();
|
uip_ds6_neighbor_periodic();
|
||||||
|
|
||||||
#if UIP_CONF_ROUTER & UIP_ND6_SEND_RA
|
#if UIP_CONF_ROUTER && UIP_ND6_SEND_RA
|
||||||
/* Periodic RA sending */
|
/* Periodic RA sending */
|
||||||
if(stimer_expired(&uip_ds6_timer_ra) && (uip_len == 0)) {
|
if(stimer_expired(&uip_ds6_timer_ra) && (uip_len == 0)) {
|
||||||
uip_ds6_send_ra_periodic();
|
uip_ds6_send_ra_periodic();
|
||||||
}
|
}
|
||||||
#endif /* UIP_CONF_ROUTER & UIP_ND6_SEND_RA */
|
#endif /* UIP_CONF_ROUTER && UIP_ND6_SEND_RA */
|
||||||
etimer_reset(&uip_ds6_timer_periodic);
|
etimer_reset(&uip_ds6_timer_periodic);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue