MCPcopy Create free account
hub / github.com/eth-easl/dirigent / resetIPTables

Function resetIPTables

cmd/worker_node/main.go:96–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94}
95
96func resetIPTables() {
97 err := exec.Command("sudo", "iptables", "-t", "nat", "-F").Run()
98 if err != nil {
99 logrus.Errorf("Error reseting IP tables - %v", err.Error())
100 }
101}

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected