diff --git a/tap.c b/tap.c index 88eed88..73cb352 100644 --- a/tap.c +++ b/tap.c @@ -972,6 +972,7 @@ restart: switch (ntohs(eh->h_proto)) { case ETH_P_ARP: case ETH_P_IP: + case htons_constant(ETH_P_IP): packet_add(pool_tap4, len, pkt_buf + n); break; case ETH_P_IPV6: