aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluto/kernel.c')
-rw-r--r--src/pluto/kernel.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/pluto/kernel.c b/src/pluto/kernel.c
index 0d8f3ba3f..3e2d9457e 100644
--- a/src/pluto/kernel.c
+++ b/src/pluto/kernel.c
@@ -258,24 +258,6 @@ void record_and_initiate_opportunistic(const ip_subnet *ours,
#endif /* KLIPS */
-static unsigned get_proto_reqid(unsigned base, int proto)
-{
- switch (proto)
- {
- default:
- case IPPROTO_COMP:
- base++;
- /* fall through */
- case IPPROTO_ESP:
- base++;
- /* fall through */
- case IPPROTO_AH:
- break;
- }
-
- return base;
-}
-
/* Generate Unique SPI numbers.
*
* The returned SPI is in network byte order.