Re: [Openvpn-devel] [PATCH] Fix is_ipv6 in case of tap interface.

2014-02-08 Thread Gert Doering
Hi, On Sat, Feb 08, 2014 at 07:33:49PM +0400, Dmitrij Tejblum wrote: > While checking a packet on a TAP interface, is_ipv_X() in proto.c > insist that the ethertype must be OPENVPN_ETH_P_IPV4, even if > the protocol is IPv6. So the protocol never match, and, thus, > mssfix doesn't work for IPv6 on

[Openvpn-devel] [PATCH] Fix is_ipv6 in case of tap interface.

2014-02-08 Thread Dmitrij Tejblum
While checking a packet on a TAP interface, is_ipv_X() in proto.c insist that the ethertype must be OPENVPN_ETH_P_IPV4, even if the protocol is IPv6. So the protocol never match, and, thus, mssfix doesn't work for IPv6 on TAP interface. Fix that. Signed-off-by: Dmitrij Tejblum --- src/openvpn/pr