[openssh-commits] [openssh] 05/05: upstream: missing match localnetwork negation check
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Jul 17 16:23:16 AEST 2023
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit b87b03282e466ca2927954ce93f5dbf0bfdc68f6
Author: djm at openbsd.org <djm at openbsd.org>
Date: Mon Jul 17 06:16:33 2023 +0000
upstream: missing match localnetwork negation check
OpenBSD-Commit-ID: 9a08ed8dae27d3f38cf280f1b28d4e0ff41a737a
---
readconf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/readconf.c b/readconf.c
index debb0c41..fe61616e 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.379 2023/07/17 04:08:31 djm Exp $ */
+/* $OpenBSD: readconf.c,v 1.380 2023/07/17 06:16:33 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -748,6 +748,8 @@ match_cfg_line(Options *options, char **condition, struct passwd *pw,
goto out;
}
r = check_match_ifaddrs(arg) == 1;
+ if (r == (negate ? 1 : 0))
+ this_result = result = 0;
} else if (strcasecmp(attrib, "tagged") == 0) {
criteria = xstrdup(options->tag == NULL ? "" :
options->tag);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list