mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-16 18:03:44 +08:00
Whitespace cleanup lwIP
This commit is contained in:
@@ -1835,9 +1835,9 @@ nd6_new_router(const ip6_addr_t *router_addr, struct netif *netif)
|
||||
for (router_index = LWIP_ND6_NUM_ROUTERS - 1; router_index >= 0; router_index--) {
|
||||
/* check if router already exists (this is a special case for 2 netifs on the same subnet
|
||||
- e.g. wifi and cable) */
|
||||
if(default_router_list[router_index].neighbor_entry == &(neighbor_cache[neighbor_index])){
|
||||
return router_index;
|
||||
}
|
||||
if(default_router_list[router_index].neighbor_entry == &(neighbor_cache[neighbor_index])){
|
||||
return router_index;
|
||||
}
|
||||
if (default_router_list[router_index].neighbor_entry == NULL) {
|
||||
/* remember lowest free index to create a new entry */
|
||||
free_router_index = router_index;
|
||||
|
||||
Reference in New Issue
Block a user