summaryrefslogtreecommitdiffstats
path: root/streaming
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2021-03-16 12:38:16 +0100
committerGitHub <noreply@github.com>2021-03-16 12:38:16 +0100
commite7e5d0c37242d8457e4b2610a95effe0db5ca1b1 (patch)
tree133ea3a9c7d4d5403cc0e4dd4b43717102efabe1 /streaming
parent2d2f249fd7cac711adc3b3ac204c83905ac631ad (diff)
Adds ACLK-NG as fallback(#10315)
* adds a new implementation of ACLK written almost from scratch * external dependencies only OpenSSL and JSON-C * fallback for systems where ACLK Legacy can't build (for technical or philosophical reasons) * can be forced to build by giving "--aclk-ng" to the installer
Diffstat (limited to 'streaming')
-rw-r--r--streaming/receiver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/streaming/receiver.c b/streaming/receiver.c
index 3ea15806d8..b538408d3c 100644
--- a/streaming/receiver.c
+++ b/streaming/receiver.c
@@ -440,7 +440,7 @@ static int rrdpush_receive(struct receiver_state *rpt)
cd.version = rpt->stream_version;
-#ifdef ENABLE_ACLK
+#if defined(ENABLE_ACLK) && !defined(ACLK_NG)
// in case we have cloud connection we inform cloud
// new slave connected
if (netdata_cloud_setting)
@@ -454,7 +454,7 @@ static int rrdpush_receive(struct receiver_state *rpt)
error("STREAM %s [receive from [%s]:%s]: disconnected (completed %zu updates).", rpt->hostname, rpt->client_ip,
rpt->client_port, count);
-#ifdef ENABLE_ACLK
+#if defined(ENABLE_ACLK) && !defined(ACLK_NG)
// in case we have cloud connection we inform cloud
// new slave connected
if (netdata_cloud_setting)