aboutsummaryrefslogtreecommitdiff
path: root/cmd/catbus-actuator-wakeonlan
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/catbus-actuator-wakeonlan')
-rw-r--r--cmd/catbus-actuator-wakeonlan/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/catbus-actuator-wakeonlan/main.go b/cmd/catbus-actuator-wakeonlan/main.go
index 6f4e62b..2649206 100644
--- a/cmd/catbus-actuator-wakeonlan/main.go
+++ b/cmd/catbus-actuator-wakeonlan/main.go
@@ -74,9 +74,9 @@ func main() {
},
}
- catbusOptions.RebroadcastDefaults = map[string][]byte{}
+ catbusOptions.DefaultPayloadByTopic = map[string][]byte{}
for topic := range config.MACsByTopic {
- catbusOptions.RebroadcastDefaults[topic] = []byte("off")
+ catbusOptions.DefaultPayloadByTopic[topic] = []byte("off")
}
catbus := catbus.NewClient(config.BrokerURI, catbusOptions)