/[smecontribs]/rpms/xtables-addons/contribs9/xtables-addons-1.47.1-10797-no_counters.patch
ViewVC logotype

Contents of /rpms/xtables-addons/contribs9/xtables-addons-1.47.1-10797-no_counters.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Nov 25 17:11:10 2019 UTC (5 years ago) by michel
Branch: MAIN
CVS Tags: xtables-addons-1_47_1-13_el6_sme, xtables-addons-1_47_1-15_el6_sme, xtables-addons-1_47_1-14_el6_sme, HEAD
* Mon Nov 25 2019 Michel Begue <mab974@gmail.com> 1.47.1-13.sme
- comment out "print STDERR" counters in xt_geoip-build [SME: 10797]

1 diff -urN xtables-addons-1.47.1.old/geoip/xt_geoip_build xtables-addons-1.47.1/geoip/xt_geoip_build
2 --- xtables-addons-1.47.1.old/geoip/xt_geoip_build 2019-11-25 19:56:05.000000000 +0400
3 +++ xtables-addons-1.47.1/geoip/xt_geoip_build 2019-11-25 20:04:15.102000000 +0400
4 @@ -191,12 +191,12 @@
5 $cidr = $row->[net];
6 $country{$cc}->{pool_v4}->add($cidr);
7
8 - if ($. % 4096 == 0) {
9 - print STDERR "\r\e[2K$. entries";
10 - }
11 + #if ($. % 4096 == 0) {
12 + # print STDERR "\r\e[2K$. entries";
13 + #}
14 }
15
16 - print STDERR "\r\e[2K$. entries total\n";
17 + #print STDERR "\r\e[2K$. entries total\n";
18
19 close($fh);
20
21 @@ -226,12 +226,12 @@
22 $cidr = $row->[net];
23 $country{$cc}->{pool_v6}->add($cidr);
24
25 - if ($. % 4096 == 0) {
26 - print STDERR "\r\e[2K$. entries";
27 - }
28 + #if ($. % 4096 == 0) {
29 + # print STDERR "\r\e[2K$. entries";
30 + #}
31 }
32
33 - print STDERR "\r\e[2K$. entries total\n";
34 + #print STDERR "\r\e[2K$. entries total\n";
35
36 close($fh);
37

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed