svn commit: r310407 - projects/ipsec/sys/netinet6
Andrey V. Elsukov
ae at FreeBSD.org
Thu Dec 22 14:09:02 UTC 2016
Author: ae
Date: Thu Dec 22 14:09:01 2016
New Revision: 310407
URL: https://svnweb.freebsd.org/changeset/base/310407
Log:
Remove unneded includes and ifdefs.
Modified:
projects/ipsec/sys/netinet6/in6.h
projects/ipsec/sys/netinet6/sctp6_usrreq.c
Modified: projects/ipsec/sys/netinet6/in6.h
==============================================================================
--- projects/ipsec/sys/netinet6/in6.h Thu Dec 22 14:08:17 2016 (r310406)
+++ projects/ipsec/sys/netinet6/in6.h Thu Dec 22 14:09:01 2016 (r310407)
@@ -432,10 +432,7 @@ struct route_in6 {
#define IPV6_BINDV6ONLY IPV6_V6ONLY
#endif
-#if 1 /* IPSEC */
#define IPV6_IPSEC_POLICY 28 /* struct; get/set security policy */
-#endif /* IPSEC */
-
/* 29; unused; was IPV6_FAITH */
#if 1 /* IPV6FIREWALL */
#define IPV6_FW_ADD 30 /* add a firewall rule to chain */
Modified: projects/ipsec/sys/netinet6/sctp6_usrreq.c
==============================================================================
--- projects/ipsec/sys/netinet6/sctp6_usrreq.c Thu Dec 22 14:08:17 2016 (r310406)
+++ projects/ipsec/sys/netinet6/sctp6_usrreq.c Thu Dec 22 14:09:01 2016 (r310407)
@@ -55,11 +55,6 @@ __FBSDID("$FreeBSD$");
#include <netinet/icmp6.h>
#include <netinet/udp.h>
-#ifdef IPSEC
-#include <netipsec/ipsec.h>
-#include <netipsec/ipsec6.h>
-#endif /* IPSEC */
-
extern struct protosw inetsw[];
int
More information about the svn-src-projects
mailing list