mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 05:17:54 +00:00
Fully qualified hosts w/ wildcards were not matching the FQHOST token type.
There's really no need for a separate token for fully-qualified vs. unqualified anymore so FQHOST is now history and hostname_matches now decides which hostname (short or long) to check based on whether or not the pattern contains a '.'.
This commit is contained in:
parent
9aeabf1b03
commit
d72d7ec3fd
2
parse.h
2
parse.h
@ -109,7 +109,7 @@ extern int top;
|
||||
*/
|
||||
int addr_matches __P((char *));
|
||||
int command_matches __P((char *, char *, char *, char *));
|
||||
int hostname_matches __P((char *, char *));
|
||||
int hostname_matches __P((char *, char *, char *));
|
||||
int netgr_matches __P((char *, char *, char *, char *));
|
||||
int usergr_matches __P((char *, char *));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user