Newer AnyConnect clients (e.g. v3.1) specify X-Aggregate-Auth and
X-AnyConnect-Platform. These are required by some gateways.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
opt->value, opt->next ? "; " : "\r\n");
}
buf_append(buf, "X-Transcend-Version: 1\r\n");
+ buf_append(buf, "X-Aggregate-Auth: 1\r\n");
+ buf_append(buf, "X-AnyConnect-Platform: %s\r\n", vpninfo->platname);
}
static int fetch_config(struct openconnect_info *vpninfo, char *fu, char *bu,