]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Stop logging excessive information about fallback netblocks
authorteor <teor2345@gmail.com>
Thu, 4 Jan 2018 13:23:52 +0000 (00:23 +1100)
committerteor <teor2345@gmail.com>
Fri, 5 Jan 2018 02:28:17 +0000 (13:28 +1100)
Implements ticket 24791

changes/ticket24791 [new file with mode: 0644]
scripts/maint/updateFallbackDirs.py

diff --git a/changes/ticket24791 b/changes/ticket24791
new file mode 100644 (file)
index 0000000..092ae85
--- /dev/null
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring (fallbacks):
+    - Stop logging excessive information about fallback netblocks.
+      Implements ticket 24791.
index 9f44bc097b96f6000e75f4b130c0340b820f1268..dbd15eb5191b5ab9546d29ed9fdcc67e45d7b558 100755 (executable)
@@ -1996,7 +1996,7 @@ class CandidateList(dict):
    # this doesn't actually tell us anything useful
    #self.describe_fallback_ipv4_netblock_mask(8)
    self.describe_fallback_ipv4_netblock_mask(16)
-   self.describe_fallback_ipv4_netblock_mask(24)
+   #self.describe_fallback_ipv4_netblock_mask(24)
 
   # log a message about the proportion of fallbacks in each IPv6 /12 (RIR),
   # /23 (smaller RIR blocks), /32 (LIR), /48 (Customer), and /64 (Host)
@@ -2006,7 +2006,7 @@ class CandidateList(dict):
     #self.describe_fallback_ipv6_netblock_mask(12)
     #self.describe_fallback_ipv6_netblock_mask(23)
     self.describe_fallback_ipv6_netblock_mask(32)
-    self.describe_fallback_ipv6_netblock_mask(48)
+    #self.describe_fallback_ipv6_netblock_mask(48)
     self.describe_fallback_ipv6_netblock_mask(64)
 
   # log a message about the proportion of fallbacks in each IPv4 and IPv6