Make uip-ds6-route use neighbor table. Instead of storing a global list of routing entries that contain both the next hop and the destination, we have a separate list of reachable destination for each neighbor in the global table.
This commit is contained in:
parent
ec609b49eb
commit
09d26f8060
5 changed files with 167 additions and 89 deletions
|
@ -587,7 +587,7 @@ tcpip_ipv6_output(void)
|
|||
return;
|
||||
}
|
||||
} else {
|
||||
nexthop = &locrt->nexthop;
|
||||
nexthop = uip_ds6_route_nexthop(locrt);
|
||||
}
|
||||
if(nexthop != NULL) {
|
||||
PRINTF("tcpip_ipv6_output: next hop ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue