MCPcopy
hub / github.com/evilsocket/opensnitch / StopMonitoringLists

Method StopMonitoringLists

daemon/rule/operator_lists.go:99–105  ·  view source on GitHub ↗

StopMonitoringLists stops the monitoring lists goroutine.

()

Source from the content-addressed store, hash-verified

97
98// StopMonitoringLists stops the monitoring lists goroutine.
99func (o *Operator) StopMonitoringLists() {
100 if o.listsMonitorRunning == true {
101 o.exitMonitorChan <- true
102 o.exitMonitorChan = nil
103 o.listsMonitorRunning = false
104 }
105}
106
107func filterDomains(line, defValue string) (bool, string, string) {
108 if len(line) < 9 {

Calls

no outgoing calls