summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_capas.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:30 +0000
commitaa2fe8ccbfcb117efa207d10229eeeac5d0f97c7 (patch)
tree941cbdd387b41c1a81587c20a6df9f0e5e0ff7ab /aclk/aclk_capas.c
parentAdding upstream version 1.37.1. (diff)
downloadnetdata-aa2fe8ccbfcb117efa207d10229eeeac5d0f97c7.tar.xz
netdata-aa2fe8ccbfcb117efa207d10229eeeac5d0f97c7.zip
Adding upstream version 1.38.0.upstream/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;
}