summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_capas.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
commitd079b656b4719739b2247dcd9d46e9bec793095a (patch)
treed2c950c70a776bcf697c963151c5bd959f8a9f03 /aclk/aclk_capas.c
parentReleasing debian version 1.37.1-2. (diff)
downloadnetdata-d079b656b4719739b2247dcd9d46e9bec793095a.tar.xz
netdata-d079b656b4719739b2247dcd9d46e9bec793095a.zip
Merging upstream version 1.38.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'aclk/aclk_capas.c')
-rw-r--r--aclk/aclk_capas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/aclk_capas.c b/aclk/aclk_capas.c
index df9d18f63..290e7d8f4 100644
--- a/aclk/aclk_capas.c
+++ b/aclk/aclk_capas.c
@@ -36,7 +36,7 @@ struct capability *aclk_get_node_instance_capas(RRDHOST *host)
{ .name = "funcs", .version = 0, .enabled = 0 },
{ .name = NULL, .version = 0, .enabled = 0 }
};
- if (host->receiver && stream_has_capability(host->receiver, STREAM_CAP_FUNCTIONS)) {
+ if (host == localhost || (host->receiver && stream_has_capability(host->receiver, STREAM_CAP_FUNCTIONS))) {
ni_caps[4].version = 1;
ni_caps[4].enabled = 1;
}