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

Function restoreConnection

daemon/rule/operator_test.go:63–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func restoreConnection() {
64 conn.Process.Path = defaultProcPath
65 conn.DstHost = defaultDstHost
66 conn.DstPort = defaultDstPort
67 conn.Entry.UserId = defaultUserID
68}
69
70func TestNewOperatorSimple(t *testing.T) {
71 t.Log("Test NewOperator() simple")

Calls

no outgoing calls

Tested by

no test coverage detected