aboutsummaryrefslogtreecommitdiffstats
path: root/main/ipsec-tools/90-dead-on-initial-contact.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-12-13 11:23:30 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-12-13 11:24:31 +0200
commit6f4b9f635fd54aa08ea8e90f52e3f824ad42dda4 (patch)
tree8dfb4dcd7035f3bd4e9a54b811a17aec0e2af4af /main/ipsec-tools/90-dead-on-initial-contact.patch
parent9b70ec32d12fb853a39d1612a75d96c1065c038b (diff)
downloadaports-6f4b9f635fd54aa08ea8e90f52e3f824ad42dda4.tar.bz2
aports-6f4b9f635fd54aa08ea8e90f52e3f824ad42dda4.tar.xz
main/ipsec-tools: add patch to execute phase1 dead hook on initial-contact
Diffstat (limited to 'main/ipsec-tools/90-dead-on-initial-contact.patch')
-rw-r--r--main/ipsec-tools/90-dead-on-initial-contact.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/ipsec-tools/90-dead-on-initial-contact.patch b/main/ipsec-tools/90-dead-on-initial-contact.patch
new file mode 100644
index 0000000000..9554ae3d32
--- /dev/null
+++ b/main/ipsec-tools/90-dead-on-initial-contact.patch
@@ -0,0 +1,11 @@
+--- a/src/racoon/isakmp_inf.c 15 Mar 2011 13:20:14 -0000 1.47
++++ b/src/racoon/isakmp_inf.c 10 Aug 2011 08:42:20 -0000
+@@ -1248,6 +1248,8 @@
+ if (f_local)
+ return 0;
+
++ script_hook(iph1, SCRIPT_PHASE1_DEAD);
++
+ #if 0
+ loc = racoon_strdup(saddrwop2str(iph1->local));
+ rem = racoon_strdup(saddrwop2str(iph1->remote));