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:
2
parse.h
2
parse.h
@@ -109,7 +109,7 @@ extern int top;
|
|||||||
*/
|
*/
|
||||||
int addr_matches __P((char *));
|
int addr_matches __P((char *));
|
||||||
int command_matches __P((char *, char *, char *, 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 netgr_matches __P((char *, char *, char *, char *));
|
||||||
int usergr_matches __P((char *, char *));
|
int usergr_matches __P((char *, char *));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user