diff --git a/ports/unix/proj/minimal/mintapif.c b/ports/unix/proj/minimal/mintapif.c index 1570b1b..9f18899 100644 --- a/ports/unix/proj/minimal/mintapif.c +++ b/ports/unix/proj/minimal/mintapif.c @@ -97,6 +97,10 @@ low_level_init(struct netif *netif) mintapif->ethaddr->addr[4] = 5; mintapif->ethaddr->addr[5] = 6; + /* device capabilities */ + /* don't set NETIF_FLAG_ETHARP if this device is not an ethernet one */ + netif->flags |= NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP; + /* Do whatever else is needed to initialize interface. */ mintapif->fd = open(DEVTAP, O_RDWR);