mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Fix network debug formatting
This commit is contained in:
parent
bc341b60c0
commit
60bdea7c50
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue