Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ipsec-tools/src/racoon PR/42363: Yasuoka Masahik...



details:   https://anonhg.NetBSD.org/src/rev/80bd4920333f
branches:  trunk
changeset: 752927:80bd4920333f
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 11 15:44:48 2010 +0000

description:
PR/42363: Yasuoka Masahiko: Second part of the patch: iterate only on the
phase2 handles that are bound by the given phase1 handle.

diffstat:

 crypto/dist/ipsec-tools/src/racoon/handler.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d392aceab6b9 -r 80bd4920333f crypto/dist/ipsec-tools/src/racoon/handler.c
--- a/crypto/dist/ipsec-tools/src/racoon/handler.c      Thu Mar 11 14:08:29 2010 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/handler.c      Thu Mar 11 15:44:48 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: handler.c,v 1.31 2009/11/22 19:34:55 christos Exp $    */
+/*     $NetBSD: handler.c,v 1.32 2010/03/11 15:44:48 christos Exp $    */
 
 /* Id: handler.c,v 1.28 2006/05/26 12:17:29 manubsd Exp */
 
@@ -573,7 +573,7 @@
 {
        struct ph2handle *p;
 
-       LIST_FOREACH(p, &iph1->ph2tree, chain) {
+       LIST_FOREACH(p, &iph1->ph2tree, ph1bind) {
                if (p->msgid == msgid && p->ph1 == iph1)
                        return p;
        }



Home | Main Index | Thread Index | Old Index