Skip to content

Commit

Permalink
Fixed a bug in firewall whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Feb 5, 2020
1 parent 1c84ca6 commit e40246f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Query_Processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2885,6 +2885,8 @@ void Query_Processor::load_mysql_firewall_users(SQLite3_result *resultset) {
it2->second = WUS_DETECTING;
} else if (strcmp(mode,(char *)"PROTECTING")==0) {
it2->second = WUS_PROTECTING;
} else if (strcmp(mode,(char *)"OFF")==0) {
it2->second = WUS_OFF;
}
} else {
//whitelist_user_setting *wus = (whitelist_user_setting *)malloc(sizeof(whitelist_user_setting));
Expand Down

0 comments on commit e40246f

Please sign in to comment.