From: Karl Palsson Date: Wed, 2 Sep 2020 09:09:38 +0000 (+0000) Subject: mosquitto: support notifications_local_only flag X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=47936a0e0845acad076bce0da2bfd6809fffa3ec;p=project%2Fluci.git mosquitto: support notifications_local_only flag Supported since mosquitto 1.5 released in May 2018, and has long been supported in the init scripts. Signed-off-by: Karl Palsson --- diff --git a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua index c687cf744e..1fc9d1df45 100644 --- a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua +++ b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua @@ -160,6 +160,7 @@ OptionalFlag(s, "cleansession", "Clean session") OptionalFlag(s, "notifications", "notifications", "Attempt to notify the local and remote broker of connection status, defaults to $SYS/broker/connections//state") s:option(Value, "notification_topic", "Topic to use for local+remote remote for notifications.").optional = true +OptionalFlag(s, "notification_local_only", "Notifications local only", "Bridge connection states should only be published locally") s:option(Value, "remote_clientid", "Client id to use on remote end of this bridge connection").optional = true s:option(Value, "local_clientid", "Client id to use locally. Important when bridging to yourself").optional = true