From 527b351a7591507613c6ddb7072c3c70fc93a1bb Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 13 May 2020 16:24:44 +0100 Subject: [PATCH] Fix fortinet_bye() path Signed-off-by: David Woodhouse --- fortinet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fortinet.c b/fortinet.c index 76447743..bd5667d0 100644 --- a/fortinet.c +++ b/fortinet.c @@ -430,7 +430,7 @@ int fortinet_bye(struct openconnect_info *vpninfo, const char *reason) openconnect_close_https(vpninfo, 0); orig_path = vpninfo->urlpath; - vpninfo->urlpath = strdup("vdesk/hangup.php3?hangup_error=1"); /* redirect segfaults without strdup */ + vpninfo->urlpath = strdup("/remote/logout"); ret = do_https_request(vpninfo, "GET", NULL, NULL, &res_buf, 0); free(vpninfo->urlpath); vpninfo->urlpath = orig_path; -- 2.49.0