mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
include relay hostname in debug conn status
This commit is contained in:
parent
22ca219347
commit
ea3a8b4034
1 changed files with 3 additions and 1 deletions
|
@ -566,7 +566,9 @@ public class ConnStatusHandler {
|
|||
if ( BuildConfig.DEBUG ) {
|
||||
switch ( typ ) {
|
||||
case COMMS_CONN_RELAY:
|
||||
result = String.format( "(DevID: %d) ", DevID.getRelayDevIDInt(context) );
|
||||
result = String.format( "(DevID: %d; host: %s) ",
|
||||
DevID.getRelayDevIDInt(context),
|
||||
XWPrefs.getDefaultRelayHost(context) );
|
||||
break;
|
||||
case COMMS_CONN_P2P:
|
||||
result = WiDirService.formatNetStateInfo();
|
||||
|
|
Loading…
Add table
Reference in a new issue