mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 04:22:40 +00:00
Ignore case when checking network name.
This commit is contained in:
1 parent
c528e4db03
commit
411ca5e6c3
1 file changed
+1
-1
@@ -52,7 +52,7 @@ public class PetNameNamingService extends NamingService {
|
||||
|
||||
public Destination lookup(String hostname) {
|
||||
PetName name = _petnameDb.get(hostname);
|
||||
if (name != null && name.getNetwork().equals("i2p")) {
|
||||
if (name != null && name.getNetwork().equalsIgnoreCase("i2p")) {
|
||||
return lookupBase64(name.getLocation());
|
||||
} else {
|
||||
return lookupBase64(hostname);
|
||||
|
||||
Reference in new issue
Block a user