Whitespace cleanup in contrib dir

This commit is contained in:
Dirk Ziegelmeier
2018-10-22 20:33:35 +02:00
parent e0e4240875
commit 64e0ede1a1
40 changed files with 2516 additions and 2520 deletions

View File

@@ -223,7 +223,7 @@ ip6_get_gateway(struct netif *netif, const ip6_addr_t *dest)
const int i = ip6_find_route_entry(dest);
LWIP_UNUSED_ARG(netif);
if (i >= 0) {
if (static_route_table[i].gateway != NULL) {
ret_gw = static_route_table[i].gateway;

View File

@@ -52,7 +52,7 @@ extern "C" {
#endif
struct netif;
/**
* LWIP_IPV6_NUM_ROUTES: Number of IPV6 routes that can be kept in the static route table.
*/

View File

@@ -157,7 +157,7 @@ lwip_hook_tcp_isn(const ip_addr_t *local_ip, u16_t local_port,
input[26] = 0xff;
input[27] = 0xff;
SMEMCPY(&input[28], &remote_ip4->addr, 4);
}
}
#endif /* LWIP_IPV4 */
input[32] = (u8_t)(local_port >> 8);