Added option LWIP_ARP_FILTER_NETIF to use multiple IPs on one hardware interface (by using multiple netifs, each with its own IP)

This commit is contained in:
goldsimon
2010-05-10 14:10:46 +00:00
parent 597764e35b
commit d656e9f28e
2 changed files with 14 additions and 0 deletions

View File

@@ -1226,6 +1226,10 @@ ethernet_input(struct pbuf *p, struct netif *netif)
}
#endif /* ETHARP_SUPPORT_VLAN */
#if LWIP_ARP_FILTER_NETIF
netif = LWIP_ARP_FILTER_NETIF_FN(p, netif, type);
#endif /* LWIP_ARP_FILTER_NETIF*/
switch (type) {
#if LWIP_ARP
/* IP packet? */