mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Costmetic change
This commit is contained in:
+1
-1
@@ -229,6 +229,7 @@ int arp_send(in_addr_t ipaddr)
|
|||||||
goto errout;
|
goto errout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_NET_SLIP
|
||||||
/* If this device does not require ARP bail out. ARP is only built of
|
/* If this device does not require ARP bail out. ARP is only built of
|
||||||
* CONFIG_NET_ETHERNET is enabled which always requires ARP support. The
|
* CONFIG_NET_ETHERNET is enabled which always requires ARP support. The
|
||||||
* following can happening only there multiple network interfaces enabled
|
* following can happening only there multiple network interfaces enabled
|
||||||
@@ -238,7 +239,6 @@ int arp_send(in_addr_t ipaddr)
|
|||||||
* REVISIT: This will need to be extended if PPP is ever incorporated.
|
* REVISIT: This will need to be extended if PPP is ever incorporated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_NET_SLIP
|
|
||||||
if (dev->d_flags & IFF_NOARP)
|
if (dev->d_flags & IFF_NOARP)
|
||||||
{
|
{
|
||||||
return OK;
|
return OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user