https://dev.arachne.cz/svn/prometheus/ticket/20
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Sun, 7 Oct 2012 20:28:07 +0000 (20:28 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Sun, 7 Oct 2012 20:28:07 +0000 (20:28 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@196 251d49ef-1d17-4917-a970-b30cf55b089b

prometheus.c

index 07980f6..2aec7ff 100644 (file)
@@ -881,11 +881,11 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
    if(qos_proxy)\r
    {\r
     save_line(":post_noproxy - [0:0]");\r
-    sprintf(str,"-A POSTROUTING -p ! tcp -o %s -j post_noproxy", lan);\r
+    sprintf(str,"-A POSTROUTING ! -p tcp -o %s -j post_noproxy", lan);\r
     save_line(str);   \r
-    sprintf(str,"-A POSTROUTING -s ! %s -o %s -j post_noproxy", proxy_ip, lan);\r
+    sprintf(str,"-A POSTROUTING ! -s %s -o %s -j post_noproxy", proxy_ip, lan);\r
     save_line(str);   \r
-    sprintf(str,"-A POSTROUTING -s %s -p tcp --sport ! %d -o %s -j post_noproxy", proxy_ip, proxy_port, lan);\r
+    sprintf(str,"-A POSTROUTING -s %s -p tcp ! --sport %d -o %s -j post_noproxy", proxy_ip, proxy_port, lan);\r
     save_line(str);   \r
 \r
     chain="post_noproxy";    \r
This page took 0.124893 seconds and 4 git commands to generate.