Merge pull request #1657 from tscheffl/ravenusb_IPv6_fix

Fix for IPv6 compilation and linkage errors
This commit is contained in:
Nicolas Tsiftes 2016-05-12 16:15:44 +02:00
commit 8f41f2a66d
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ CONTIKI_WITH_IPV6=0
CONTIKI = ../..
MODULES+=core/net/mac/sicslowmac core/net/mac core/net/llsec
MODULES+=core/net/mac/sicslowmac core/net core/net/mac core/net/llsec
PROJECT_SOURCEFILES += fakeuip.c

View File

@ -611,7 +611,7 @@ extern uip_ds6_netif_t uip_ds6_if;
uip_ds6_route_t *route;
for(route = uip_ds6_route_head();
route != NULL;
route = uip_ds6_route_next(r)) {
route = uip_ds6_route_next(route)) {
ipaddr_add(&route->ipaddr);
PRINTF_P(PSTR("/%u (via "), route->length);
ipaddr_add(uip_ds6_route_nexthop(route));