diff options
author | djm@openbsd.org <djm@openbsd.org> | 2016-08-23 10:17:42 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-08-29 03:17:08 +0200 |
commit | 23555eb13a9b0550371a16dcf8beaab7a5806a64 (patch) | |
tree | 1ade32a220f0888674304b76503f7166a401d9e2 /addrmatch.c | |
parent | upstream commit (diff) | |
download | openssh-23555eb13a9b0550371a16dcf8beaab7a5806a64.tar.xz openssh-23555eb13a9b0550371a16dcf8beaab7a5806a64.zip |
upstream commit
downgrade an error() to a debug2() to match similar cases
in addr_match_list()
Upstream-ID: 07c3d53e357214153d9d08f234411e0d1a3d6f5c
Diffstat (limited to 'addrmatch.c')
-rw-r--r-- | addrmatch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addrmatch.c b/addrmatch.c index 6a7ab7d41..cba1854ec 100644 --- a/addrmatch.c +++ b/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> @@ -398,8 +398,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) { |