diff options
author | teor <teor2345@gmail.com> | 2018-01-05 00:23:52 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2018-01-05 13:28:17 +1100 |
commit | 65520f1bde36286765424cf29f50d67cbc9d8df1 (patch) | |
tree | fbaff281a9fb309e67cfd86c68365735f92a912d | |
parent | d30d3fe8ed4b88c070736b22e2de16dcfe9a1b80 (diff) | |
download | tor-65520f1bde36286765424cf29f50d67cbc9d8df1.tar.gz tor-65520f1bde36286765424cf29f50d67cbc9d8df1.zip |
Stop logging excessive information about fallback netblocks
Implements ticket 24791
-rw-r--r-- | changes/ticket24791 | 3 | ||||
-rwxr-xr-x | scripts/maint/updateFallbackDirs.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/changes/ticket24791 b/changes/ticket24791 new file mode 100644 index 0000000000..092ae85111 --- /dev/null +++ b/changes/ticket24791 @@ -0,0 +1,3 @@ + o Code simplification and refactoring (fallbacks): + - Stop logging excessive information about fallback netblocks. + Implements ticket 24791. diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py index 9f44bc097b..dbd15eb519 100755 --- a/scripts/maint/updateFallbackDirs.py +++ b/scripts/maint/updateFallbackDirs.py @@ -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 |