From 984c8e007b9324ca2a44f0284c73497d29381232 Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Wed, 3 Dec 2014 16:35:36 +0100 Subject: [PATCH] Fix conditional compilation directive in uip-ds6.c --- core/net/ipv6/uip-ds6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/net/ipv6/uip-ds6.c b/core/net/ipv6/uip-ds6.c index 72aec4fcf..d5b848b9a 100644 --- a/core/net/ipv6/uip-ds6.c +++ b/core/net/ipv6/uip-ds6.c @@ -186,12 +186,12 @@ uip_ds6_periodic(void) uip_ds6_neighbor_periodic(); -#if UIP_CONF_ROUTER & UIP_ND6_SEND_RA +#if UIP_CONF_ROUTER && UIP_ND6_SEND_RA /* Periodic RA sending */ if(stimer_expired(&uip_ds6_timer_ra) && (uip_len == 0)) { 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); return; }