summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_otp.c
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2021-11-11 13:58:08 +0100
committerGitHub <noreply@github.com>2021-11-11 13:58:08 +0100
commite20c0237fdb73483e678eb49d72e3f6adeb108c9 (patch)
tree3cbc218b055df1fa5b9eabc833b0d01a08ad3aba /aclk/aclk_otp.c
parent512e98a397b1bcb92e31ebe0d48167ebbca800d3 (diff)
Announce proto capability and enable if cloud supports (#11476)
The time has come to push the button.
Diffstat (limited to 'aclk/aclk_otp.c')
-rw-r--r--aclk/aclk_otp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/aclk_otp.c b/aclk/aclk_otp.c
index bb463cbc79..4248fc1082 100644
--- a/aclk/aclk_otp.c
+++ b/aclk/aclk_otp.c
@@ -842,7 +842,7 @@ int aclk_get_env(aclk_env_t *env, const char* aclk_hostname, int aclk_port) {
return 1;
}
- buffer_sprintf(buf, "/api/v1/env?v=%s&cap=json&claim_id=%s", &(VERSION[1]) /* skip 'v' at beginning */, agent_id);
+ buffer_sprintf(buf, "/api/v1/env?v=%s&cap=json,proto&claim_id=%s", &(VERSION[1]) /* skip 'v' at beginning */, agent_id);
freez(agent_id);
req.host = (char*)aclk_hostname;