summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 630b03c)
raw | patch | inline | side by side (parent: 630b03c)
author | Florian Forster <octo@collectd.org> | |
Fri, 27 Nov 2015 09:04:35 +0000 (10:04 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 27 Nov 2015 09:04:35 +0000 (10:04 +0100) |
src/collectd.conf.pod | patch | blob | history | |
src/mqtt.c | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index baae0274f2123ba94add34c4cc48b79e5d04e8bb..82fa4ce98c38076805ce80e52cd9d056e7850f5f 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
Path to the unencrypted PEM-encoded key file corresponding to B<CertificateFile>.
-=item B<TLSprotocol> I<protocol>
+=item B<TLSProtocol> I<protocol>
If configured, this specifies the string protocol version (e.g. tlsv1, tlsv1.2) to
use for the TLS connection to the broker. If not set a default version is used which
diff --git a/src/mqtt.c b/src/mqtt.c
index f8c1e0ef9b4ae7da5ee84de5e8f97bfebb431241..cbffa67e98d411f9c1fe805c1b75f0752cee8f66 100644 (file)
--- a/src/mqtt.c
+++ b/src/mqtt.c
* CACert "ca.pem" Enables TLS if set
* CertificateFile "client-cert.pem" optional
* CertificateKeyFile "client-key.pem" optional
- * TLSprotocol "tlsv1.2" optional
+ * TLSProtocol "tlsv1.2" optional
* </Publish>
*/
static int mqtt_config_publisher (oconfig_item_t *ci)
cf_util_get_string (child, &conf->certificatefile);
else if (strcasecmp ("CertificateKeyFile", child->key) == 0)
cf_util_get_string (child, &conf->certificatekeyfile);
- else if (strcasecmp ("TLSprotocol", child->key) == 0)
+ else if (strcasecmp ("TLSProtocol", child->key) == 0)
cf_util_get_string (child, &conf->tlsprotocol);
else if (strcasecmp ("CipherSuite", child->key) == 0)
cf_util_get_string (child, &conf->ciphersuite);