Add geoipv6 file generation to command line util

This commit is contained in:
zzz
2016-10-06 14:55:44 +00:00
parent db8a3d5b90
commit 40b41b0dc5
2 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,7 @@ public class CommandLine extends net.i2p.util.CommandLine {
"net.i2p.router.RouterVersion",
"net.i2p.router.peermanager.ProfileOrganizer",
"net.i2p.router.tasks.CryptoChecker",
"net.i2p.router.transport.GeoIPv6",
//"net.i2p.router.transport.UPnP"
});

View File

@ -32,9 +32,12 @@ import net.i2p.util.Log;
* Generate compressed geoipv6.dat.gz file, and
* lookup entries in it.
*
* Public only for command line use,
* not a public API, not for external use.
*
* @since IPv6
*/
class GeoIPv6 {
public class GeoIPv6 {
private static final String GEOIP_DIR_DEFAULT = "geoip";
private static final String GEOIP_FILE_DEFAULT = "geoipv6.dat.gz";