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 reset yyerrorcount before...



details:   https://anonhg.NetBSD.org/src/rev/957c3e3fbec4
branches:  trunk
changeset: 762811:957c3e3fbec4
user:      vanhu <vanhu%NetBSD.org@localhost>
date:      Tue Mar 01 14:14:50 2011 +0000

description:
reset yyerrorcount before doing parse stuff. patch by Roman Hoog Antink <rha%open.ch@localhost>

diffstat:

 crypto/dist/ipsec-tools/src/racoon/cfparse.y |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r aca30db68b2f -r 957c3e3fbec4 crypto/dist/ipsec-tools/src/racoon/cfparse.y
--- a/crypto/dist/ipsec-tools/src/racoon/cfparse.y      Tue Mar 01 13:38:45 2011 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/cfparse.y      Tue Mar 01 14:14:50 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cfparse.y,v 1.38 2010/06/22 09:41:33 vanhu Exp $       */
+/*     $NetBSD: cfparse.y,v 1.39 2011/03/01 14:14:50 vanhu Exp $       */
 
 /* Id: cfparse.y,v 1.66 2006/08/22 18:17:17 manubsd Exp */
 
@@ -2617,6 +2617,7 @@
 {
        int error;
 
+       yyerrorcount = 0;
        yycf_init_buffer();
 
        if (yycf_switch_buffer(lcconf->racoon_conf) != 0) {



Home | Main Index | Thread Index | Old Index