diff --git a/core/net/ipv6/uip-ds6.h b/core/net/ipv6/uip-ds6.h index 45ec3c7a0..5c9e4d3c7 100644 --- a/core/net/ipv6/uip-ds6.h +++ b/core/net/ipv6/uip-ds6.h @@ -131,7 +131,13 @@ #define ADDR_MANUAL 3 /** \brief General DS6 definitions */ -#define UIP_DS6_PERIOD (CLOCK_SECOND/10) /** Period for uip-ds6 periodic task*/ +/** Period for uip-ds6 periodic task*/ +#ifndef UIP_CONF_DS6_PERIOD +#define UIP_DS6_PERIOD (CLOCK_SECOND/10) +#else +#define UIP_DS6_PERIOD UIP_CONF_DS6_PERIOD +#endif + #define FOUND 0 #define FREESPACE 1 #define NOSPACE 2