minor - fix localhost nodeinstance fnc caps (#14166)
Timotej S committed
Dec 22, 2022 at 16:14 UTC
ef8726ee288d2bffe49ec0709fa943cdf6c0be86
1 file changed
+1
-1
aclk/aclk_capas.c
+1
-1
@@ -36,7 +36,7 @@ struct capability *aclk_get_node_instance_capas(RRDHOST *host)
36
{ .name = "funcs", .version = 0, .enabled = 0 },
37
{ .name = NULL, .version = 0, .enabled = 0 }
38
};
39
- if (host->receiver && stream_has_capability(host->receiver, STREAM_CAP_FUNCTIONS)) {
39
+ if (host == localhost || (host->receiver && stream_has_capability(host->receiver, STREAM_CAP_FUNCTIONS))) {
40
ni_caps[4].version = 1;
41
ni_caps[4].enabled = 1;
42
}