summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2016-08-23 08:17:43 +0000
committerDamien Miller <djm@cvs.openbsd.org>2016-08-23 08:17:43 +0000
commitf3ce66b51c5bcc786a446f8b813c59a2790c09d7 (patch)
treea2da7527aa397e20f9d2bcbf0a0d5ec9ba623b84 /usr.bin/ssh
parent74ef37618861d31e9d162f5f5e935712309d27a9 (diff)
downgrade an error() to a debug2() to match similar cases
in addr_match_list()
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/addrmatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/addrmatch.c b/usr.bin/ssh/addrmatch.c
index 1b86f6fd0a0..4ca12a910a6 100644
--- a/usr.bin/ssh/addrmatch.c
+++ b/usr.bin/ssh/addrmatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: addrmatch.c,v 1.11 2016/08/23 03:24:10 djm Exp $ */
+/* $OpenBSD: addrmatch.c,v 1.12 2016/08/23 08:17:42 djm Exp $ */
/*
* Copyright (c) 2004-2008 Damien Miller <djm@mindrot.org>
@@ -394,8 +394,8 @@ addr_match_list(const char *addr, const char *_list)
/* Prefer CIDR address matching */
r = addr_pton_cidr(cp, &match_addr, &masklen);
if (r == -2) {
- error("Inconsistent mask length for "
- "network \"%.100s\"", cp);
+ debug2("%s: inconsistent mask length for "
+ "match network \"%.100s\"", __func__, cp);
ret = -2;
break;
} else if (r == 0) {