From 9c86a784045dc4f48add7ce1e5759b7db2cc654b Mon Sep 17 00:00:00 2001 From: kieranm Date: Fri, 16 Jul 2010 12:49:02 +0000 Subject: [PATCH] Set netif->flags appropriate for Ethernet device --- ports/unix/netif/tapif.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/unix/netif/tapif.c b/ports/unix/netif/tapif.c index 32be852..49bca65 100644 --- a/ports/unix/netif/tapif.c +++ b/ports/unix/netif/tapif.c @@ -346,6 +346,9 @@ tapif_init(struct netif *netif) netif->hwaddr_len = 6; tapif->ethaddr = (struct eth_addr *)&(netif->hwaddr[0]); + + netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_IGMP; + low_level_init(netif); return ERR_OK;