Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec Replace remaining DPRINTF with IPSECLOG



details:   https://anonhg.NetBSD.org/src/rev/5d8aaf8a0eab
branches:  trunk
changeset: 824070:5d8aaf8a0eab
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Mon May 22 04:23:55 2017 +0000

description:
Replace remaining DPRINTF with IPSECLOG

diffstat:

 sys/netipsec/key.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 50559b718c4d -r 5d8aaf8a0eab sys/netipsec/key.c
--- a/sys/netipsec/key.c        Mon May 22 04:21:20 2017 +0000
+++ b/sys/netipsec/key.c        Mon May 22 04:23:55 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.c,v 1.135 2017/05/19 06:32:31 ozaki-r Exp $        */
+/*     $NetBSD: key.c,v 1.136 2017/05/22 04:23:55 ozaki-r Exp $        */
 /*     $FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $        */
 /*     $KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $   */
 
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.135 2017/05/19 06:32:31 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.136 2017/05/22 04:23:55 ozaki-r Exp $");
 
 /*
  * This code is referd to RFC 2367
@@ -5993,8 +5993,7 @@
                case SADB_X_AALG_SHA:   *ksmin = *ksmax = 20; break;
                case SADB_X_AALG_NULL:  *ksmin = 0; *ksmax = 256; break;
                default:
-                       DPRINTF(("key_getsizes_ah: unknown AH algorithm %u\n",
-                               alg));
+                       IPSECLOG(LOG_DEBUG, "unknown AH algorithm %u\n", alg);
                        break;
                }
        }



Home | Main Index | Thread Index | Old Index