Date: Wed, 25 Jan 2017 13:22:48 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r312752 - projects/ipsec/sys/netinet6 Message-ID: <201701251322.v0PDMmCj019199@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Wed Jan 25 13:22:48 2017 New Revision: 312752 URL: https://svnweb.freebsd.org/changeset/base/312752 Log: Use correct IPsec methods. Modified: projects/ipsec/sys/netinet6/ip6_forward.c Modified: projects/ipsec/sys/netinet6/ip6_forward.c ============================================================================== --- projects/ipsec/sys/netinet6/ip6_forward.c Wed Jan 25 12:18:21 2017 (r312751) +++ projects/ipsec/sys/netinet6/ip6_forward.c Wed Jan 25 13:22:48 2017 (r312752) @@ -152,7 +152,7 @@ ip6_forward(struct mbuf *m, int srcrt) #if defined(IPSEC) || defined(IPSEC_SUPPORT) if (IPSEC_ENABLED(ipv6)) { - if ((error = IPSEC_FORWARD(ipv4, m)) != 0) { + if ((error = IPSEC_FORWARD(ipv6, m)) != 0) { /* mbuf consumed by IPsec */ m_freem(mcopy); if (error != EINPROGRESS)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701251322.v0PDMmCj019199>