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 plog text fixes, patch fr...



details:   https://anonhg.NetBSD.org/src/rev/b2d5a985c83a
branches:  trunk
changeset: 762814:b2d5a985c83a
user:      vanhu <vanhu%NetBSD.org@localhost>
date:      Tue Mar 01 14:33:58 2011 +0000

description:
plog text fixes, patch from M E Andersson <debian%gisladisker.se@localhost>

diffstat:

 crypto/dist/ipsec-tools/src/racoon/isakmp.c |   4 ++--
 crypto/dist/ipsec-tools/src/racoon/pfkey.c  |  16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (62 lines):

diff -r 9bd88327dc98 -r b2d5a985c83a crypto/dist/ipsec-tools/src/racoon/isakmp.c
--- a/crypto/dist/ipsec-tools/src/racoon/isakmp.c       Tue Mar 01 14:27:32 2011 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/isakmp.c       Tue Mar 01 14:33:58 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isakmp.c,v 1.67 2011/02/02 15:21:34 vanhu Exp $        */
+/*     $NetBSD: isakmp.c,v 1.68 2011/03/01 14:33:58 vanhu Exp $        */
 
 /* Id: isakmp.c,v 1.74 2006/05/07 21:32:59 manubsd Exp */
 
@@ -3422,7 +3422,7 @@
        dst = iph2->dst;
 
        plog(LLV_INFO, LOCATION, NULL,
-                "generated policy, deleting it.\n");
+                "deleting a generated policy.\n");
 
        memset(&spidx, 0, sizeof(spidx));
        iph2->spidx_gen = (caddr_t )&spidx;
diff -r 9bd88327dc98 -r b2d5a985c83a crypto/dist/ipsec-tools/src/racoon/pfkey.c
--- a/crypto/dist/ipsec-tools/src/racoon/pfkey.c        Tue Mar 01 14:27:32 2011 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/pfkey.c        Tue Mar 01 14:33:58 2011 +0000
@@ -1,6 +1,6 @@
-/*     $NetBSD: pfkey.c,v 1.54 2010/11/12 10:36:37 tteras Exp $        */
-
-/* $Id: pfkey.c,v 1.54 2010/11/12 10:36:37 tteras Exp $ */
+/*     $NetBSD: pfkey.c,v 1.55 2011/03/01 14:33:58 vanhu Exp $ */
+
+/* $Id: pfkey.c,v 1.55 2011/03/01 14:33:58 vanhu Exp $ */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -231,7 +231,7 @@
                }
        }
 
-       plog(LLV_DEBUG, LOCATION, NULL, "get pfkey %s message\n",
+       plog(LLV_DEBUG, LOCATION, NULL, "got pfkey %s message\n",
                s_pfkey_type(msg->sadb_msg_type));
        plogdump(LLV_DEBUG2, msg, msg->sadb_msg_len << 3);
 
@@ -2344,8 +2344,8 @@
 
        sp = getsp(&spidx);
        if (sp == NULL) {
-               plog(LLV_ERROR, LOCATION, NULL,
-                       "such policy does not already exist: \"%s\"\n",
+               plog(LLV_DEBUG, LOCATION, NULL,
+                       "this policy did not exist for removal: \"%s\"\n",
                        spidx2str(&spidx));
        } else {
                /* preserve hints before deleting the SP */
@@ -3611,8 +3611,8 @@
                break;
        case IPSECDOI_PROTO_IPCOMP:
                plog(LLV_DEBUG, LOCATION, NULL,
-                       "compression algorithm can not be checked "
-                       "because sadb message doesn't support it.\n");
+                       "no check of compression algorithm; "
+                       "not supported in sadb message.\n");
                return 0;
        default:
                plog(LLV_ERROR, LOCATION, NULL,



Home | Main Index | Thread Index | Old Index