]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
add missing break between "case IPv4" and "case IPv6", leading to the
authorGert Doering <gert@greenie.muc.de>
Thu, 10 Nov 2011 19:15:44 +0000 (20:15 +0100)
committerDavid Sommerseth <davids@redhat.com>
Thu, 10 Nov 2011 19:25:59 +0000 (20:25 +0100)
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>
tap-win32/tapdrvr.c

index 7ab3916f44239138a85ecb131d583c0661a02745..e5760dc11df1364a495fe6ce2ea7c95085e2714a 100755 (executable)
@@ -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