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

This commit is contained in:
zzz
2014-11-17 14:19:00 +00:00
parent 279e102d7a
commit 15137d9b62

View File

@@ -87,6 +87,10 @@ class FloodfillMonitorJob extends JobImpl {
if (getContext().commSystem().isInBadCountry())
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...
if (getContext().router().getUptime() < MIN_UPTIME)