arch/sim/src/up_netdriver.c: Fix error 'invalid operands to binary &'

This commit is contained in:
Xiang Xiao 2018-11-10 14:00:13 -06:00 committed by Gregory Nutt
parent 8cfb376f81
commit f71cd2678a
1 changed files with 1 additions and 1 deletions

View File

@ -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);