From: Gert Doering Date: Thu, 10 Nov 2011 19:15:44 +0000 (+0100) Subject: add missing break between "case IPv4" and "case IPv6", leading to the X-Git-Tag: v2.3-alpha1~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10b99726a30bb7252cb01806f5f276be7873e84e;p=thirdparty%2Fopenvpn.git 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 --- 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