From 1a2b4285cdd14cc5b42944c0f8659a73497dc287 Mon Sep 17 00:00:00 2001 From: Patrick Pacher Date: Thu, 1 Oct 2020 16:44:33 +0200 Subject: [PATCH] Fix build on darwin --- firewall/interception/interception_default.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firewall/interception/interception_default.go b/firewall/interception/interception_default.go index 3f19b1e7..35e07f17 100644 --- a/firewall/interception/interception_default.go +++ b/firewall/interception/interception_default.go @@ -4,10 +4,11 @@ package interception import ( "github.com/safing/portbase/log" + "github.com/safing/portmaster/network/packet" ) // start starts the interception. -func start(ch chan packet.Packet) error { +func start(_ chan packet.Packet) error { log.Info("interception: this platform has no support for packet interception - a lot of functionality will be broken") return nil }