summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-15 14:44:47 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 11:57:45 -0500
commit1d4ff08416e2d5c3184d74a5ea27cfb6951c6995 (patch)
treea6339f72d7193f6612a6e9c53fc4eeb17a1e4e59 /sys/netinet6/ip6_output.c
parent9dc9b464567f0c80c70bcb682c6b69ee5ff6840a (diff)
downloadFreeBSD-src-1d4ff08416e2d5c3184d74a5ea27cfb6951c6995.zip
FreeBSD-src-1d4ff08416e2d5c3184d74a5ea27cfb6951c6995.tar.gz
MFC r275710:
Remove flag/flags argument from the following functions: ipsec_getpolicybyaddr() ipsec4_checkpolicy() ip_ipsec_output() ip6_ipsec_output() The only flag used here was IP_FORWARDING. Obtained from: Yandex LLC Sponsored by: Yandex LLC TAG: IPSEC-HEAD Issue: #4841
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r--sys/netinet6/ip6_output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 4fbac61..09eab20 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -348,8 +348,9 @@ ip6_output(struct mbuf *m0, struct ip6_pktopts *opt,
/*
* IPSec checking which handles several cases.
* FAST IPSEC: We re-injected the packet.
+ * XXX: need scope argument.
*/
- switch(ip6_ipsec_output(&m, inp, &flags, &error, &ifp))
+ switch(ip6_ipsec_output(&m, inp, &error))
{
case 1: /* Bad packet */
goto freehdrs;
OpenPOWER on IntegriCloud