Rename Monitor -> MonitorForIptablesFlush

- Makes it all a bit more explicit
This commit is contained in:
Simon Howe committed 2020-07-24 15:04:28 +02:00
1 parent 1d7ca17c3e
commit 341bac9968
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -524,7 +524,7 @@ func main() {
weavenet.Reexpose(&bridgeConfig, Log)
}
stopChan := make(chan struct{})
go weavenet.Monitor(Log, "WEAVE-CANARY", []string{"mangle", "nat", "filter"}, applyIPTables, 10*time.Second, stopChan)
go weavenet.MonitorForIptablesFlush(Log, "WEAVE-CANARY", []string{"mangle", "nat", "filter"}, applyIPTables, 10*time.Second, stopChan)
defer close(stopChan)
signals.SignalHandlerLoop(common.Log, router)