summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2014-04-04 15:55:38 +0000
committerae <ae@FreeBSD.org>2014-04-04 15:55:38 +0000
commit11ab69a2c36ce7d6c9d7bc5a2f574fa503ca7e56 (patch)
treea003c6473309d86bd3244f59ad8b2ea9458ca2c6 /sys/netipsec
parentd84e22670b49d7a5f1e3386b727c9678d4c903c6 (diff)
downloadFreeBSD-src-11ab69a2c36ce7d6c9d7bc5a2f574fa503ca7e56.zip
FreeBSD-src-11ab69a2c36ce7d6c9d7bc5a2f574fa503ca7e56.tar.gz
Remove dead code.
MFC after: 1 week Sponsored by: Yandex LLC
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/xform_ipip.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/netipsec/xform_ipip.c b/sys/netipsec/xform_ipip.c
index d2537d2..ca37e17 100644
--- a/sys/netipsec/xform_ipip.c
+++ b/sys/netipsec/xform_ipip.c
@@ -65,9 +65,6 @@
#include <netinet/ip_ecn.h>
#include <netinet/ip_var.h>
#include <netinet/ip_encap.h>
-#ifdef MROUTING
-#include <netinet/ip_mroute.h>
-#endif
#include <netipsec/ipsec.h>
#include <netipsec/xform.h>
@@ -208,18 +205,8 @@ _ipip_input(struct mbuf *m, int iphlen, struct ifnet *gifp)
return;
}
}
-
ipo = mtod(m, struct ip *);
-#ifdef MROUTING
- if (ipo->ip_v == IPVERSION && ipo->ip_p == IPPROTO_IPV4) {
- if (IN_MULTICAST(((struct ip *)((char *) ipo + iphlen))->ip_dst.s_addr)) {
- ipip_mroute_input (m, iphlen);
- return;
- }
- }
-#endif /* MROUTING */
-
/* Keep outer ecn field. */
switch (v >> 4) {
#ifdef INET
OpenPOWER on IntegriCloud