Fix to MXS-417: https://mariadb.atlassian.net/browse/MXS-417 Added support for single-character wildcard in IP addresses.

Single character wildcard addresses are now properly handled
This commit is contained in:
Markus Makela
2015-10-20 11:56:17 +03:00
parent 42f5fe2485
commit 9cd327a783
3 changed files with 94 additions and 1 deletions

View File

@ -62,6 +62,7 @@ typedef struct mysql_user_host_key {
struct sockaddr_in ipv4;
int netmask;
char *resource;
char hostname[MYSQL_HOST_MAXLEN + 1];
} MYSQL_USER_HOST;
extern int load_mysql_users(SERVICE *service);