diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2022-12-22 16:14:29 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 16:14:29 +0700 |
commit | ef8726ee288d2bffe49ec0709fa943cdf6c0be86 (patch) | |
tree | 9f78af958e6a11566a0a396d5fa009fe8671cffb /aclk | |
parent | 3240df9c48c5d362f028ee741203b3cd3c4ff651 (diff) |
minor - fix localhost nodeinstance fnc caps (#14166)
Diffstat (limited to 'aclk')
-rw-r--r-- | aclk/aclk_capas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/aclk_capas.c b/aclk/aclk_capas.c index df9d18f638..290e7d8f4d 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; } |