mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-09 05:31:05 +08:00
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 <bug-report@secadm.de> Acked-by: Gert Doering <gert@greenie.muc.de> Signed-off-by: Gert Doering <gert@greenie.muc.de> Signed-off-by: David Sommerseth <davids@redhat.com> (cherry picked from commit 10b99726a30bb7252cb01806f5f276be7873e84e)
This commit is contained in:
parent
68deffc892
commit
c5b9d40f0f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user