summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/key.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-04-27 21:04:16 +0000
committerbz <bz@FreeBSD.org>2009-04-27 21:04:16 +0000
commita12cc82f1a9f7b092795ca96ff1a6fac818cb536 (patch)
treebf9e0132195dbc81bd2001c6b8a3cc3364658412 /sys/netipsec/key.c
parent07fcd69a1a3bfec9d8ffc20dc21dae431e1675a6 (diff)
downloadFreeBSD-src-a12cc82f1a9f7b092795ca96ff1a6fac818cb536.zip
FreeBSD-src-a12cc82f1a9f7b092795ca96ff1a6fac818cb536.tar.gz
key_gettunnel() has been unsued with FAST_IPSEC (now IPSEC).
KAME had explicit checks at one point using it, so just hide it behind #if 0 for now until we are sure if we can completely dump it or not. MFC after: 1 month
Diffstat (limited to 'sys/netipsec/key.c')
-rw-r--r--sys/netipsec/key.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index 70b68a8..24a3139 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -684,6 +684,7 @@ found:
return sp;
}
+#if 0
/*
* return a policy that matches this particular inbound packet.
* XXX slow
@@ -760,6 +761,7 @@ done:
sp, sp ? sp->id : 0, sp ? sp->refcnt : 0));
return sp;
}
+#endif
/*
* allocating an SA entry for an *OUTBOUND* packet.
OpenPOWER on IntegriCloud