From 84245208015652c96cd65021f394fb69f5e2d37b Mon Sep 17 00:00:00 2001 From: xchaos Date: Fri, 13 Sep 2019 08:22:51 +0000 Subject: [PATCH] ... and revert of fix... git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@275 251d49ef-1d17-4917-a970-b30cf55b089b --- prometheus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.30.2