mosquitto: support anonymous user per listener
authorDavid Andreoletti <david@andreoletti.net>
Wed, 10 Apr 2024 08:33:31 +0000 (16:33 +0800)
committerKarl Palsson <karlp@tweak.au>
Wed, 10 Apr 2024 09:33:42 +0000 (09:33 +0000)
Signed-off-by: David Andreoletti <david@andreoletti.net>
net/mosquitto/files/etc/init.d/mosquitto

index 002042a3cb952a7524dd5b43ff7823be9341f511..b62f829ce2e9f34ed2412fbc682a75d666ca3540 100755 (executable)
@@ -156,6 +156,7 @@ add_listener() {
     append_if "$1" tls_engine_kpass_sha1
     append_if "$1" tls_keyform
     append_if "$1" tls_version
+    append_if "$1" allow_anonymous
     append_optional_bool "$1" use_identity_as_username
     append_optional_bool "$1" use_subject_as_username
     append_if "$1" psk_hint