From 10b99726a30bb7252cb01806f5f276be7873e84e Mon Sep 17 00:00:00 2001 From: Gert Doering Date: Thu, 10 Nov 2011 20:15:44 +0100 Subject: [PATCH] add missing break between "case IPv4" and "case IPv6", leading to the minimum-size for IPv6 being applied to IPv4 packets, subsequently leading to drop of small-sized IPv4 packets. Bug found & fixed by Christian Niessner. Signed-off-by: Christian Niessner Acked-by: Gert Doering Signed-off-by: Gert Doering Signed-off-by: David Sommerseth --- tap-win32/tapdrvr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tap-win32/tapdrvr.c b/tap-win32/tapdrvr.c index 7ab3916f4..e5760dc11 100755 --- a/tap-win32/tapdrvr.c +++ b/tap-win32/tapdrvr.c @@ -1766,6 +1766,7 @@ AdapterTransmit (IN NDIS_HANDLE p_AdapterContext, // Packet looks like IPv4, queue it. l_PacketBuffer->m_SizeFlags |= TP_TUN; + break; case ETH_P_IPV6: // make sure that packet is large -- 2.47.2