include relay hostname in debug conn status

This commit is contained in:
Eric House 2017-01-18 19:30:03 -08:00
parent 22ca219347
commit ea3a8b4034

View file

@ -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();