Module Name:    src
Committed By:   christos
Date:           Tue Jun  2 20:52:00 UTC 2015

Modified Files:
        src/external/bsd/blacklist/bin: conf.c

Log Message:
restore address length before printing.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/external/bsd/blacklist/bin/conf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/blacklist/bin/conf.c
diff -u src/external/bsd/blacklist/bin/conf.c:1.21 src/external/bsd/blacklist/bin/conf.c:1.22
--- src/external/bsd/blacklist/bin/conf.c:1.21	Tue Jun  2 10:02:10 2015
+++ src/external/bsd/blacklist/bin/conf.c	Tue Jun  2 16:52:00 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: conf.c,v 1.21 2015/06/02 14:02:10 christos Exp $	*/
+/*	$NetBSD: conf.c,v 1.22 2015/06/02 20:52:00 christos Exp $	*/
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: conf.c,v 1.21 2015/06/02 14:02:10 christos Exp $");
+__RCSID("$NetBSD: conf.c,v 1.22 2015/06/02 20:52:00 christos Exp $");
 
 #include <stdio.h>
 #include <string.h>
@@ -488,6 +488,7 @@ conf_amask_eq(const void *v1, const void
 out:
 	if (debug > 1) {
 		char b1[256], b2[256];
+		len <<= 2;
 		hexdump(b1, sizeof(b1), "a1", v1, len);
 		hexdump(b2, sizeof(b2), "a1", v2, len);
 		(*lfun)(LOG_DEBUG, "%s: %s != %s [0x%x]", __func__,

Reply via email to