Rename two macros related to multicast, which are not user configuration

- UIP_CONF_IPV6_MULTICAST -> UIP_IPV6_MULTICAST
- RPL_CONF_MULTICAST      -> RPL_WITH_MULTICAST
This commit is contained in:
Yasuyuki Tanaka 2016-06-20 16:35:09 +02:00
parent 704847db04
commit ca3a4726d1
12 changed files with 26 additions and 26 deletions

View file

@ -114,7 +114,7 @@ rpl_purge_routes(void)
uip_ds6_route_t *r;
uip_ipaddr_t prefix;
rpl_dag_t *dag;
#if RPL_CONF_MULTICAST
#if RPL_WITH_MULTICAST
uip_mcast6_route_t *mcast_route;
#endif
@ -159,7 +159,7 @@ rpl_purge_routes(void)
}
}
#if RPL_CONF_MULTICAST
#if RPL_WITH_MULTICAST
mcast_route = uip_mcast6_route_list_head();
while(mcast_route != NULL) {
@ -178,7 +178,7 @@ void
rpl_remove_routes(rpl_dag_t *dag)
{
uip_ds6_route_t *r;
#if RPL_CONF_MULTICAST
#if RPL_WITH_MULTICAST
uip_mcast6_route_t *mcast_route;
#endif
@ -193,7 +193,7 @@ rpl_remove_routes(rpl_dag_t *dag)
}
}
#if RPL_CONF_MULTICAST
#if RPL_WITH_MULTICAST
mcast_route = uip_mcast6_route_list_head();
while(mcast_route != NULL) {