Add flag to disable packet interception
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
package interception
|
||||
|
||||
import "github.com/safing/portmaster/network/packet"
|
||||
|
||||
// Packets channel for feeding the firewall.
|
||||
var Packets = make(chan packet.Packet, 1000)
|
||||
|
||||
// Start starts the interception.
|
||||
func Start() error {
|
||||
// start starts the interception.
|
||||
func start() error {
|
||||
return StartNfqueueInterception()
|
||||
}
|
||||
|
||||
// Stop starts the interception.
|
||||
func Stop() error {
|
||||
// stop starts the interception.
|
||||
func stop() error {
|
||||
return StopNfqueueInterception()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user