[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #36436] ethernet input flag not set on unix proj minim
From: |
Sergio R. Caprile |
Subject: |
[lwip-devel] [bug #36436] ethernet input flag not set on unix proj minimal mintapif |
Date: |
Thu, 20 Feb 2014 02:04:17 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 |
Follow-up Comment #4, bug #36436 (project lwip):
Hi, I came across to this bug report after actually having fixed it myself...
so sorry but not, it is not closed.
The example in contrib/ports/unix/proj/minimal/ initializes its interface in
file mintapif.c.
Code in function mintapif_init(struct netif *netif)
on that file does not set any flags on the netif structure. As
NETIF_FLAG_ETHARP is not set, ARP packets are later discarded at the input
function and so the users are not able to see the example running.
My fix: I just added the flags as they are set on the provided tapif
initialization in the main contrib branch in contrib/ports/unix/netif/tapif.c
(please find attached)
There is also an older patch (2010) commented on this thread in lwip-users:
http://lists.nongnu.org/archive/html/lwip-users/2010-10/msg00120.html
(file #30610)
_______________________________________________________
Additional Item Attachment:
File name: contrib_ports_unix_minimal_mintapif.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36436>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #36436] ethernet input flag not set on unix proj minimal mintapif,
Sergio R. Caprile <=