From: xchaos Date: Fri, 13 Sep 2019 08:22:51 +0000 (+0000) Subject: ... and revert of fix... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=84245208015652c96cd65021f394fb69f5e2d37b;p=svn%2FPrometheus-QoS%2F.git ... and revert of fix... git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@275 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/prometheus.c b/prometheus.c index 87c5f18..474d5cd 100644 --- a/prometheus.c +++ b/prometheus.c @@ -772,7 +772,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); { for_each(interface, interfaces) { - sprintf(str,"-A %s -m set --match-set %s %s -o %s -j ACCEPT", interface->chain, qos_free_dst_ipset, (interface->is_upstream?"src":"dst"), interface->name); + sprintf(str,"-A %s -m set --match-set %s %s -o %s -j ACCEPT", interface->chain, qos_free_dst_ipset, (interface->is_upstream?"dst":"src"), interface->name); iptables_save_line(str, IPv4); } } @@ -781,7 +781,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); { for_each(interface, interfaces) { - sprintf(str,"-A %s -m set --match-set %s %s -o %s -j ACCEPT", interface->chain, qos_free_src_ipset, (interface->is_upstream?"dst":"src"), interface->name); + sprintf(str,"-A %s -m set --match-set %s %s -o %s -j ACCEPT", interface->chain, qos_free_src_ipset, (interface->is_upstream?"src":"dst"), interface->name); iptables_save_line(str, IPv4); } }