Rename Monitor -> MonitorForIptablesFlush
- Makes it all a bit more explicit
This commit is contained in:
1 parent
1d7ca17c3e
commit
341bac9968
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user