From e1f290d37d7f6dc83b2f7c394b1d03b02933eadf Mon Sep 17 00:00:00 2001 From: goldsimon Date: Fri, 19 Dec 2014 16:02:14 +0100 Subject: [PATCH] pcapif: set NETIF_FLAG_ETHERNET, too --- ports/win32/pcapif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/win32/pcapif.c b/ports/win32/pcapif.c index c5618d7..955e9dc 100644 --- a/ports/win32/pcapif.c +++ b/ports/win32/pcapif.c @@ -785,7 +785,7 @@ pcapif_init(struct netif *netif) #endif /* LWIP_NETIF_HOSTNAME */ netif->mtu = 1500; - netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_IGMP; + netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET | NETIF_FLAG_IGMP; netif->hwaddr_len = ETHARP_HWADDR_LEN; NETIF_INIT_SNMP(netif, snmp_ifType_ethernet_csmacd, 100000000);