diff options
author | Karl Palsson <karlp@etactica.com> | 2020-09-02 09:09:38 +0000 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2020-09-08 10:52:59 +0000 |
commit | 596c2919f6b204983b3d3623204281565b319933 (patch) | |
tree | 12fa538580cef82b53fa73c02ed1abd186cf2e1e /applications/luci-app-mosquitto/luasrc | |
parent | b95ac83ffd4fcf268be964002c45beba17d6e5c1 (diff) |
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 <karlp@etactica.com>
Diffstat (limited to 'applications/luci-app-mosquitto/luasrc')
-rw-r--r-- | applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua index 0b0467e9a0..3ba88e5ac4 100644 --- a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua +++ b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua @@ -161,6 +161,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/<clientid>/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 |