From 6b39193dd108e6cf16ebcbed92cf698d367dca46 Mon Sep 17 00:00:00 2001 From: xchaos Date: Sun, 7 Oct 2012 20:28:07 +0000 Subject: [PATCH] https://dev.arachne.cz/svn/prometheus/ticket/20 git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@196 251d49ef-1d17-4917-a970-b30cf55b089b --- prometheus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prometheus.c b/prometheus.c index 07980f6..2aec7ff 100644 --- a/prometheus.c +++ b/prometheus.c @@ -881,11 +881,11 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); if(qos_proxy) { save_line(":post_noproxy - [0:0]"); - sprintf(str,"-A POSTROUTING -p ! tcp -o %s -j post_noproxy", lan); + sprintf(str,"-A POSTROUTING ! -p tcp -o %s -j post_noproxy", lan); save_line(str); - sprintf(str,"-A POSTROUTING -s ! %s -o %s -j post_noproxy", proxy_ip, lan); + sprintf(str,"-A POSTROUTING ! -s %s -o %s -j post_noproxy", proxy_ip, lan); save_line(str); - sprintf(str,"-A POSTROUTING -s %s -p tcp --sport ! %d -o %s -j post_noproxy", proxy_ip, proxy_port, lan); + sprintf(str,"-A POSTROUTING -s %s -p tcp ! --sport %d -o %s -j post_noproxy", proxy_ip, proxy_port, lan); save_line(str); chain="post_noproxy"; -- 2.30.2