I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 15137d9b authored by zzz's avatar zzz
Browse files

NetDB: Exclude A1/A2 "countries" from auto-floodfill

parent 279e102d
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,10 @@ class FloodfillMonitorJob extends JobImpl { ...@@ -87,6 +87,10 @@ class FloodfillMonitorJob extends JobImpl {
if (getContext().commSystem().isInBadCountry()) if (getContext().commSystem().isInBadCountry())
return false; return false;
String country = getContext().commSystem().getOurCountry();
// anonymous proxy, satellite provider (not in bad country list)
if ("a1".equals(country) || "a2".equals(country))
return false;
// Only if up a while... // Only if up a while...
if (getContext().router().getUptime() < MIN_UPTIME) if (getContext().router().getUptime() < MIN_UPTIME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment