fixed -g bug

This commit is contained in:
wangyu- 2017-09-17 09:05:25 -05:00
parent 1c831f2911
commit b239e94342

View File

@ -3349,7 +3349,7 @@ void iptables_rule() // handles -a -g --gen-add --keep-rule
} }
if(generate_iptables_rule) if(generate_iptables_rule)
{ {
string rule="iptables -I "; string rule="iptables -I INPUT ";
rule+=pattern; rule+=pattern;
rule+=" -j DROP"; rule+=" -j DROP";