Changeset 44c7518


Ignore:
Timestamp:
Mar 22, 2015 8:30:38 AM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
2c45378c
Parents:
2609a4d
Message:

set tunnel name for ping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnel.java

    r2609a4d r44c7518  
    16631663        if (allargs.length() != 0) {
    16641664            _clientOptions.setProperty(I2Ping.PROP_COMMAND, allargs);
     1665            if (ownDest) {
     1666                if (!_clientOptions.containsKey("inbound.nickname"))
     1667                    _clientOptions.setProperty("inbound.nickname", "I2Ping");
     1668                if (!_clientOptions.containsKey("outbound.nickname"))
     1669                    _clientOptions.setProperty("outbound.nickname", "I2Ping");
     1670            }
    16651671            I2PTunnelTask task = new I2Ping(l, ownDest, this, this);
    16661672            addtask(task);
Note: See TracChangeset for help on using the changeset viewer.