summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/xform_ipip.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netipsec/xform_ipip.c')
-rw-r--r--sys/netipsec/xform_ipip.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/netipsec/xform_ipip.c b/sys/netipsec/xform_ipip.c
index 8de23ec..891e16c 100644
--- a/sys/netipsec/xform_ipip.c
+++ b/sys/netipsec/xform_ipip.c
@@ -105,14 +105,6 @@ SYSCTL_VNET_STRUCT(_net_inet_ipip, IPSECCTL_STATS,
static void _ipip_input(struct mbuf *m, int iphlen, struct ifnet *gifp);
-#ifdef VIMAGE
-static const vnet_modinfo_t vnet_ipip_modinfo = {
- .vmi_id = VNET_MOD_IPIP,
- .vmi_name = "ipsec_ipip",
- .vmi_dependson = VNET_MOD_IPSEC,
-};
-#endif
-
#ifdef INET6
/*
* Really only a wrapper for ipip_input(), for use with IPv6.
@@ -710,9 +702,6 @@ ipe4_attach(void)
(void) encap_attach_func(AF_INET6, -1,
ipe4_encapcheck, (struct protosw *)&ipe6_protosw, NULL);
#endif
-#ifdef VIMAGE
- vnet_mod_register(&vnet_ipip_modinfo);
-#endif
}
SYSINIT(ipe4_xform_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_MIDDLE, ipe4_attach, NULL);
#endif /* IPSEC */
OpenPOWER on IntegriCloud