From 75e8c6ab4e96499b902961d41fb90fe58df88c8b Mon Sep 17 00:00:00 2001 From: xchaos Date: Thu, 12 Sep 2019 21:46:14 +0000 Subject: [PATCH] fix git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@274 251d49ef-1d17-4917-a970-b30cf55b089b --- prometheus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prometheus.c b/prometheus.c index a8ec705..87c5f18 100644 --- a/prometheus.c +++ b/prometheus.c @@ -40,7 +40,7 @@ const char *version = "0.9.0-c"; /* Warning: unofficial Github mirror is not supported by author! */ /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ -const char *stats_html_signature = "Statistics generated by Prometheus QoS version %s
GPL+Copyright(C)2005-2017 Michael Polak, Arachne Labs
\n"; +const char *stats_html_signature = "Statistics generated by Prometheus QoS version %s
GPL+Copyright(C)2005-2019 Michael Polak, Arachne Labs
\n"; #define STRLEN 512 #undef DEBUG @@ -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, (interface->is_upstream?"dst":"src"), qos_free_dst_ipset, 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?"src":"dst"), 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, (interface->is_upstream?"src":"dst"), qos_free_src_ipset, 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?"dst":"src"), interface->name); iptables_save_line(str, IPv4); } } -- 2.30.2