summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_ipsec.h
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-11-09 19:53:34 +0000
committertrasz <trasz@FreeBSD.org>2009-11-09 19:53:34 +0000
commitab44b532fc14160602cb4a00f5a305b6f8750250 (patch)
treeffaa04187e987888c5e2bd7f7ca534d74dddd77e /sys/netinet/ip_ipsec.h
parenteeb9a0f3712a14bb7f210f605dceb26e613cbda1 (diff)
downloadFreeBSD-src-ab44b532fc14160602cb4a00f5a305b6f8750250.zip
FreeBSD-src-ab44b532fc14160602cb4a00f5a305b6f8750250.tar.gz
Remove ifdefed out part of code, which seems to have originated a decade ago
in OpenBSD. As it is now, there is no way for this to be useful, since IPsec is free to forward packets via whatever interface it wants, so checking capabilities of the interface passed from ip_output (fetched from the routing table) serves no purpose. Discussed with: sam@
Diffstat (limited to 'sys/netinet/ip_ipsec.h')
-rw-r--r--sys/netinet/ip_ipsec.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_ipsec.h b/sys/netinet/ip_ipsec.h
index 31bc86a..2870c11 100644
--- a/sys/netinet/ip_ipsec.h
+++ b/sys/netinet/ip_ipsec.h
@@ -36,6 +36,5 @@ int ip_ipsec_filtertunnel(struct mbuf *);
int ip_ipsec_fwd(struct mbuf *);
int ip_ipsec_input(struct mbuf *);
int ip_ipsec_mtu(struct mbuf *, int);
-int ip_ipsec_output(struct mbuf **, struct inpcb *, int *, int *,
- struct ifnet **);
+int ip_ipsec_output(struct mbuf **, struct inpcb *, int *, int *);
#endif
OpenPOWER on IntegriCloud