From 60bdea7c50749d7a71854af7e835f3c70bb66717 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 21 Mar 2021 21:49:37 +0100 Subject: [PATCH] Fix network debug formatting --- firewall/interception/interception_default.go | 2 +- network/api.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firewall/interception/interception_default.go b/firewall/interception/interception_default.go index 35e07f17..0ba5e1c3 100644 --- a/firewall/interception/interception_default.go +++ b/firewall/interception/interception_default.go @@ -9,7 +9,7 @@ import ( // start starts the interception. func start(_ chan packet.Packet) error { - log.Info("interception: this platform has no support for packet interception - a lot of functionality will be broken") + log.Critical("interception: this platform has no support for packet interception - a lot of functionality will be broken") return nil } diff --git a/network/api.go b/network/api.go index d828394e..659d77b3 100644 --- a/network/api.go +++ b/network/api.go @@ -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",