]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
nx: Set secure_cookie for NX
authorAndreas Gnau <rondom@rondom.de>
Sat, 23 May 2020 13:16:57 +0000 (15:16 +0200)
committerAndreas Gnau <rondom@rondom.de>
Sun, 24 May 2020 21:49:16 +0000 (23:49 +0200)
Used for filtering log output in some places.

Signed-off-by: Andreas Gnau <rondom@rondom.de>
library.c

index 727d1b5536b024e30406e64ce3fec8e7832df300..3988e4b14e2dc8b8622141604c40fef77e2cc536 100644 (file)
--- a/library.c
+++ b/library.c
@@ -178,7 +178,8 @@ static const struct vpn_proto openconnect_protos[] = {
                .tcp_mainloop = ppp_mainloop,
                .add_http_headers = nx_common_headers,
                .obtain_cookie = nx_obtain_cookie,
-    }, {
+               .secure_cookie = "swap",
+       }, {
                .name = "pulse",
                .pretty_name = N_("Pulse Connect Secure"),
                .description = N_("Compatible with Pulse Connect Secure SSL VPN"),