arch/sim/src/up_netdriver.c: Fix error 'invalid operands to binary &'
This commit is contained in:
parent
8cfb376f81
commit
f71cd2678a
|
@ -126,7 +126,7 @@ static int sim_txpoll(struct net_driver_s *dev)
|
||||||
|
|
||||||
#ifdef CONFIG_NET_IPv4
|
#ifdef CONFIG_NET_IPv4
|
||||||
#ifdef CONFIG_NET_IPv6
|
#ifdef CONFIG_NET_IPv6
|
||||||
if (IFF_IS_IPv4(&g_sim_dev))
|
if (IFF_IS_IPv4(g_sim_dev.d_flags))
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
arp_out(&g_sim_dev);
|
arp_out(&g_sim_dev);
|
||||||
|
|
Loading…
Reference in New Issue