forked from I2P_Developers/i2p.i2p
Router debug: Don't show enc. type for local router in tunnel config
as it was always showing ElG which was incorrect ref: http://zzz.i2p/topics/3403
This commit is contained in:
@@ -393,12 +393,17 @@ public abstract class TunnelCreatorConfig implements TunnelInfo {
|
||||
buf.append(": GW ");
|
||||
for (int i = 0; i < _peers.length; i++) {
|
||||
buf.append(_peers[i].toBase64().substring(0,4));
|
||||
buf.append(isEC(i) ? " EC:" : " ElG:");
|
||||
long id = _config[i].getReceiveTunnelId();
|
||||
if (id != 0)
|
||||
if (id != 0) {
|
||||
// don't show for "me" at OBGW or IBEP
|
||||
if (!_isInbound || i != _peers.length - 1)
|
||||
buf.append(isEC(i) ? " EC:" : " ElG:");
|
||||
else
|
||||
buf.append(' ');
|
||||
buf.append(id);
|
||||
else
|
||||
buf.append("me");
|
||||
} else {
|
||||
buf.append(" me");
|
||||
}
|
||||
id = _config[i].getSendTunnelId();
|
||||
if (id != 0) {
|
||||
buf.append('.');
|
||||
|
||||
Reference in New Issue
Block a user