mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-25 14:54:45 +02:00
upstream: missing match localnetwork negation check
OpenBSD-Commit-ID: 9a08ed8dae27d3f38cf280f1b28d4e0ff41a737a
This commit is contained in:
parent
6d6e185ba2
commit
b87b03282e
@ -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@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -748,6 +748,8 @@ match_cfg_line(Options *options, char **condition, struct passwd *pw,
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
r = check_match_ifaddrs(arg) == 1;
|
r = check_match_ifaddrs(arg) == 1;
|
||||||
|
if (r == (negate ? 1 : 0))
|
||||||
|
this_result = result = 0;
|
||||||
} else if (strcasecmp(attrib, "tagged") == 0) {
|
} else if (strcasecmp(attrib, "tagged") == 0) {
|
||||||
criteria = xstrdup(options->tag == NULL ? "" :
|
criteria = xstrdup(options->tag == NULL ? "" :
|
||||||
options->tag);
|
options->tag);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user