Skip to content

Commit

Permalink
Update ttl_iptables.c
Browse files Browse the repository at this point in the history
  • Loading branch information
limithit authored Apr 8, 2019
1 parent 8ed1308 commit b696425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttl_iptables.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ int main(int argc, char **argv) {
while (redisGetReply(c, (void *) &reply) == REDIS_OK) {
if (!check_ipaddr(reply->element[3]->str)) {
#ifdef WITH_IPSET
sprintf(insert_command, "ipset add block_ip %s",
sprintf(insert_command, "ipset del block_ip %s",
reply->element[3]->str);
#else
sprintf(insert_command, "iptables -D INPUT -s %s -j DROP",
Expand Down

0 comments on commit b696425

Please sign in to comment.