diff options
Diffstat (limited to 'main/ipsec-tools/initial-contact-fix.diff')
-rw-r--r-- | main/ipsec-tools/initial-contact-fix.diff | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/main/ipsec-tools/initial-contact-fix.diff b/main/ipsec-tools/initial-contact-fix.diff index 8eef3731..370418be 100644 --- a/main/ipsec-tools/initial-contact-fix.diff +++ b/main/ipsec-tools/initial-contact-fix.diff @@ -4,7 +4,7 @@ RCS file: /cvsroot/src/crypto/dist/ipsec-tools/src/racoon/admin.c,v retrieving revision 1.32 diff -u -r1.32 admin.c --- src/racoon/admin.c 3 Sep 2009 09:29:07 -0000 1.32 -+++ src/racoon/admin.c 9 Dec 2009 12:58:48 -0000 ++++ src/racoon/admin.c 10 Dec 2009 14:38:47 -0000 @@ -299,9 +299,8 @@ break; @@ -30,8 +30,8 @@ RCS file: /cvsroot/src/crypto/dist/ipsec-tools/src/racoon/handler.c,v retrieving revision 1.31 diff -u -r1.31 handler.c --- src/racoon/handler.c 22 Nov 2009 19:34:55 -0000 1.31 -+++ src/racoon/handler.c 9 Dec 2009 12:58:48 -0000 -@@ -966,6 +966,20 @@ ++++ src/racoon/handler.c 10 Dec 2009 14:38:48 -0000 +@@ -966,6 +966,22 @@ } void @@ -43,6 +43,8 @@ diff -u -r1.31 handler.c + LIST_FOREACH(p, &ctdtree, chain) { + if (cmpsaddr(remote, p->remote) == 0) { + LIST_REMOVE(p, chain); ++ racoon_free(p->remote); ++ racoon_free(p); + break; + } + } @@ -58,7 +60,7 @@ RCS file: /cvsroot/src/crypto/dist/ipsec-tools/src/racoon/handler.h,v retrieving revision 1.22 diff -u -r1.22 handler.h --- src/racoon/handler.h 3 Sep 2009 09:29:07 -0000 1.22 -+++ src/racoon/handler.h 9 Dec 2009 12:58:48 -0000 ++++ src/racoon/handler.h 10 Dec 2009 14:38:48 -0000 @@ -518,6 +518,7 @@ extern struct contacted *getcontacted __P((struct sockaddr *)); |