summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/isakmpd/pf_key_v2.c4
-rw-r--r--sbin/isakmpd/pf_key_v2.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sbin/isakmpd/pf_key_v2.c b/sbin/isakmpd/pf_key_v2.c
index 2aa7536a1cc..313823045c6 100644
--- a/sbin/isakmpd/pf_key_v2.c
+++ b/sbin/isakmpd/pf_key_v2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_key_v2.c,v 1.168 2005/11/14 23:25:11 deraadt Exp $ */
+/* $OpenBSD: pf_key_v2.c,v 1.169 2006/05/29 10:17:59 markus Exp $ */
/* $EOM: pf_key_v2.c,v 1.79 2000/12/12 00:33:19 niklas Exp $ */
/*
@@ -2123,7 +2123,7 @@ passed:
}
/* Disable a flow given a SA. */
-static int
+int
pf_key_v2_disable_sa(struct sa *sa, int incoming)
{
struct ipsec_sa *isa = sa->data;
diff --git a/sbin/isakmpd/pf_key_v2.h b/sbin/isakmpd/pf_key_v2.h
index 8eaed1a8b45..8d942f0d7bc 100644
--- a/sbin/isakmpd/pf_key_v2.h
+++ b/sbin/isakmpd/pf_key_v2.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_key_v2.h,v 1.12 2004/08/10 15:59:10 ho Exp $ */
+/* $OpenBSD: pf_key_v2.h,v 1.13 2006/05/29 10:17:59 markus Exp $ */
/* $EOM: pf_key_v2.h,v 1.4 2000/12/04 04:46:35 angelos Exp $ */
/*
@@ -45,6 +45,7 @@ extern int pf_key_v2_socket;
extern void pf_key_v2_connection_check(char *);
extern int pf_key_v2_delete_spi(struct sa *, struct proto *, int);
extern int pf_key_v2_enable_sa(struct sa *, struct sa *);
+extern int pf_key_v2_disable_sa(struct sa *, int);
extern int pf_key_v2_enable_spi(in_addr_t, in_addr_t, in_addr_t,
in_addr_t, u_int8_t *, u_int8_t, in_addr_t);
extern struct sa_kinfo *pf_key_v2_get_kernel_sa(u_int8_t *, size_t, u_int8_t,