Skip to content

Commit

Permalink
fixed -g bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu- committed Sep 17, 2017
1 parent 1c831f2 commit b239e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3349,7 +3349,7 @@ void iptables_rule() // handles -a -g --gen-add --keep-rule
}
if(generate_iptables_rule)
{
string rule="iptables -I ";
string rule="iptables -I INPUT ";
rule+=pattern;
rule+=" -j DROP";

Expand Down

0 comments on commit b239e94

Please sign in to comment.