safing-portmaster/firewall/interception/interception_default.go
Daniel 17af628f9a Add no-op default interception interface
This enables building for unsupported platforms
2020-07-22 09:36:53 +02:00

18 lines
351 B
Go

//+build !windows,!linux
package interception
import (
"github.com/safing/portbase/log"
)
// start starts the interception.
func start() error {
log.Info("interception: this platform has no support for packet interception - a lot of functionality will be broken")
return nil
}
// stop starts the interception.
func stop() error {
return nil
}