mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
net/: Fix alignment and spacing problems found by tools/nxstyle.
This commit is contained in:
@@ -206,8 +206,8 @@ int net_delroute_ipv4(in_addr_t target, in_addr_t netmask)
|
||||
ret = net_lockroute_ipv4();
|
||||
if (ret < 0)
|
||||
{
|
||||
nerr("ERROR: net_lockroute_ipv4 failed: %d\n", ret);
|
||||
return ret;
|
||||
nerr("ERROR: net_lockroute_ipv4 faled: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Get the size of the routing table (in entries) */
|
||||
@@ -252,8 +252,8 @@ int net_delroute_ipv4(in_addr_t target, in_addr_t netmask)
|
||||
ret = net_openroute_ipv4(O_RDWR, &fshandle);
|
||||
if (ret < 0)
|
||||
{
|
||||
nerr("ERROR: Could not open IPv4 routing table: %d\n", ret);
|
||||
goto errout_with_lock;
|
||||
nerr("ERROR: Could not open IPv4 routing table: %d\n", ret);
|
||||
goto errout_with_lock;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ROUTE_IPv4_CACHEROUTE
|
||||
@@ -354,8 +354,8 @@ int net_delroute_ipv6(net_ipv6addr_t target, net_ipv6addr_t netmask)
|
||||
ret = net_lockroute_ipv6();
|
||||
if (ret < 0)
|
||||
{
|
||||
nerr("ERROR: net_lockroute_ipv6 failed: %d\n", ret);
|
||||
return ret;
|
||||
nerr("ERROR: net_lockroute_ipv6 failed: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Get the size of the routing table (in entries) */
|
||||
|
||||
Reference in New Issue
Block a user