mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
Some trivial, cosmetic changes from review of last PR.
This commit is contained in:
@@ -671,10 +671,8 @@ static void tun_net_receive_tap(FAR struct tun_device_s *priv)
|
|||||||
|
|
||||||
if (ret == OK)
|
if (ret == OK)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (priv->dev.d_len > 0)
|
if (priv->dev.d_len > 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
/* Update the Ethernet header with the correct MAC address */
|
/* Update the Ethernet header with the correct MAC address */
|
||||||
|
|
||||||
#ifdef CONFIG_NET_IPv4
|
#ifdef CONFIG_NET_IPv4
|
||||||
|
|||||||
Reference in New Issue
Block a user