diff options
author | trasz <trasz@FreeBSD.org> | 2009-11-09 19:53:34 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-11-09 19:53:34 +0000 |
commit | ab44b532fc14160602cb4a00f5a305b6f8750250 (patch) | |
tree | ffaa04187e987888c5e2bd7f7ca534d74dddd77e /sys/netinet/ip_ipsec.h | |
parent | eeb9a0f3712a14bb7f210f605dceb26e613cbda1 (diff) | |
download | FreeBSD-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.h | 3 |
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 |