This commit is contained in:
VilhoRaatikka
2014-12-08 11:21:46 +02:00
parent 4c1ed65617
commit 7ed253ecae
2 changed files with 5 additions and 2 deletions

View File

@ -1450,7 +1450,9 @@ int gw_find_mysql_user_password_sha1(char *username, uint8_t *gateway_password,
* (1) Check for localhost first: 127.0.0.1 (IPv4 only)
*/
if ((key.ipv4.sin_addr.s_addr == 0x0100007F) && !dcb->service->localhost_match_wildcard_host) {
if ((key.ipv4.sin_addr.s_addr == 0x0100007F) &&
!dcb->service->localhost_match_wildcard_host)
{
/* Skip the wildcard check and return 1 */
LOGIF(LE,
(skygw_log_write_flush(