1 |
michel |
1.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 |
|
|
|