aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/catbus-actuator-wakeonlan/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/catbus-actuator-wakeonlan/main.go b/cmd/catbus-actuator-wakeonlan/main.go
index 37efbbe..6f4e62b 100644
--- a/cmd/catbus-actuator-wakeonlan/main.go
+++ b/cmd/catbus-actuator-wakeonlan/main.go
@@ -73,6 +73,12 @@ func main() {
}
},
}
+
+ catbusOptions.RebroadcastDefaults = map[string][]byte{}
+ for topic := range config.MACsByTopic {
+ catbusOptions.RebroadcastDefaults[topic] = []byte("off")
+ }
+
catbus := catbus.NewClient(config.BrokerURI, catbusOptions)
if err := catbus.Connect(); err != nil {