Move network/environment to netenv

This commit is contained in:
Daniel
2020-04-02 17:08:02 +02:00
parent 1a3f9a75da
commit dc32e72b3a
21 changed files with 34 additions and 68 deletions

View File

@@ -2,7 +2,6 @@ package network
import (
"github.com/safing/portbase/modules"
"github.com/safing/portmaster/network/environment"
)
var (
@@ -10,8 +9,7 @@ var (
)
func init() {
module = modules.Register("network", nil, start, nil, "core")
environment.InitSubModule(module)
module = modules.Register("network", nil, start, nil, "core", "processes")
}
func start() error {
@@ -22,5 +20,5 @@ func start() error {
go cleaner()
return environment.StartSubModule()
return nil
}