mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-10-14 09:55:33 +08:00
changed iptables -A to -I, auth_mode: simple
This commit is contained in:
@@ -52,7 +52,7 @@ char * my_ntoa(u32_t ip)
|
||||
int add_iptables_rule(char * s)
|
||||
{
|
||||
strcpy(iptables_rule,s);
|
||||
char buf[300]="iptables -A ";
|
||||
char buf[300]="iptables -I ";
|
||||
strcat(buf,s);
|
||||
if(system(buf)==0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user