diff options
author | Dmitrij Tejblum <dt@yandex.ru> | 2014-02-08 19:33:49 +0400 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2014-04-29 22:46:12 +0200 |
commit | 7227af1131a5d7ae2ea4d8d1cd3cba3001440326 (patch) | |
tree | 6210d4ef0c408c9cfbd1702b5e764a27857ae559 /src/openvpn/options.c | |
parent | c2faef04e61378ef5f112401b586fc9af6168f33 (diff) | |
download | openvpn-7227af1131a5d7ae2ea4d8d1cd3cba3001440326.tar.gz openvpn-7227af1131a5d7ae2ea4d8d1cd3cba3001440326.tar.xz openvpn-7227af1131a5d7ae2ea4d8d1cd3cba3001440326.zip |
Fix is_ipv6 in case of tap interface.
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 <dt@yandex.ru>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1391873629-14388-1-git-send-email-dt@yandex.ru>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8259
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit db037c20086587a609ef33127c15de080270f2cb)
Diffstat (limited to 'src/openvpn/options.c')
0 files changed, 0 insertions, 0 deletions