forked from I2P_Developers/i2p.i2p
Add geoipv6 file generation to command line util
This commit is contained in:
@@ -21,6 +21,7 @@ public class CommandLine extends net.i2p.util.CommandLine {
|
|||||||
"net.i2p.router.RouterVersion",
|
"net.i2p.router.RouterVersion",
|
||||||
"net.i2p.router.peermanager.ProfileOrganizer",
|
"net.i2p.router.peermanager.ProfileOrganizer",
|
||||||
"net.i2p.router.tasks.CryptoChecker",
|
"net.i2p.router.tasks.CryptoChecker",
|
||||||
|
"net.i2p.router.transport.GeoIPv6",
|
||||||
//"net.i2p.router.transport.UPnP"
|
//"net.i2p.router.transport.UPnP"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -32,9 +32,12 @@ import net.i2p.util.Log;
|
|||||||
* Generate compressed geoipv6.dat.gz file, and
|
* Generate compressed geoipv6.dat.gz file, and
|
||||||
* lookup entries in it.
|
* lookup entries in it.
|
||||||
*
|
*
|
||||||
|
* Public only for command line use,
|
||||||
|
* not a public API, not for external use.
|
||||||
|
*
|
||||||
* @since IPv6
|
* @since IPv6
|
||||||
*/
|
*/
|
||||||
class GeoIPv6 {
|
public class GeoIPv6 {
|
||||||
|
|
||||||
private static final String GEOIP_DIR_DEFAULT = "geoip";
|
private static final String GEOIP_DIR_DEFAULT = "geoip";
|
||||||
private static final String GEOIP_FILE_DEFAULT = "geoipv6.dat.gz";
|
private static final String GEOIP_FILE_DEFAULT = "geoipv6.dat.gz";
|
||||||
|
Reference in New Issue
Block a user