Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/blacklist/bin fix name of the helper.



details:   https://anonhg.NetBSD.org/src/rev/92a272d52f71
branches:  trunk
changeset: 335752:92a272d52f71
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 22 21:32:30 2015 +0000

description:
fix name of the helper.

diffstat:

 external/bsd/blacklist/bin/blacklistd.c |  6 +++---
 external/bsd/blacklist/bin/internal.h   |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 0da77d2b863e -r 92a272d52f71 external/bsd/blacklist/bin/blacklistd.c
--- a/external/bsd/blacklist/bin/blacklistd.c   Thu Jan 22 20:21:57 2015 +0000
+++ b/external/bsd/blacklist/bin/blacklistd.c   Thu Jan 22 21:32:30 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: blacklistd.c,v 1.22 2015/01/22 20:17:34 christos Exp $ */
+/*     $NetBSD: blacklistd.c,v 1.23 2015/01/22 21:32:30 christos Exp $ */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #include "config.h"
 #endif
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: blacklistd.c,v 1.22 2015/01/22 20:17:34 christos Exp $");
+__RCSID("$NetBSD: blacklistd.c,v 1.23 2015/01/22 21:32:30 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -217,7 +217,7 @@
            f = 0, n++)
        {
                time_t when = c.c_duration + dbi.last;
-               if (debug) {
+               if (debug > 1) {
                        char b1[64], b2[64];
                        sockaddr_snprintf(buf, sizeof(buf), "%a:%p",
                            (void *)&ss);
diff -r 0da77d2b863e -r 92a272d52f71 external/bsd/blacklist/bin/internal.h
--- a/external/bsd/blacklist/bin/internal.h     Thu Jan 22 20:21:57 2015 +0000
+++ b/external/bsd/blacklist/bin/internal.h     Thu Jan 22 21:32:30 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: internal.h,v 1.9 2015/01/22 17:49:41 christos Exp $    */
+/*     $NetBSD: internal.h,v 1.10 2015/01/22 21:32:30 christos Exp $   */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #define        _PATH_BLCONF    "/etc/blacklistd.conf"
 #endif
 #ifndef _PATH_BLCONTROL
-#define        _PATH_BLCONTROL "/libexec/blacklist-helper"
+#define        _PATH_BLCONTROL "/libexec/blacklistd-helper"
 #endif
 #ifndef _PATH_BLSTATE
 #define        _PATH_BLSTATE   "/var/db/blacklistd.db"



Home | Main Index | Thread Index | Old Index