diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/api/web_api_v1.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c index 1be749b662..4822ca2cde 100644 --- a/web/api/web_api_v1.c +++ b/web/api/web_api_v1.c @@ -984,6 +984,11 @@ inline int web_client_api_request_v1_info_fill_buffer(RRDHOST *host, BUFFER *wb) #else buffer_strcat(wb, "\t\"aclk-ng-available\": false,\n"); #endif +#if defined(ACLK_NG) && defined(ENABLE_NEW_CLOUD_PROTOCOL) + buffer_strcat(wb, "\t\"aclk-ng-new-cloud-protocol\": true,\n"); +#else + buffer_strcat(wb, "\t\"aclk-ng-new-cloud-protocol\": false,\n"); +#endif #ifdef ACLK_LEGACY buffer_strcat(wb, "\t\"aclk-legacy-available\": true,\n"); #else |