Fix network debug formatting

This commit is contained in:
Daniel
2021-03-21 21:49:37 +01:00
parent bc341b60c0
commit 60bdea7c50
2 changed files with 2 additions and 2 deletions

View File

@@ -208,7 +208,7 @@ func buildNetworkDebugInfoData(debugConns []*Connection) string {
func (conn *Connection) debugInfoLine() string {
var connectionData string
if conn.Type == DNSRequest { // conn.ID !=
if conn.Type == IPConnection {
// Format IP/Port pair for connections.
connectionData = fmt.Sprintf(
"% 15s:%- 5s %s % 15s:%- 5s",