--- 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));
