From: Daniel Lenski Date: Tue, 21 Apr 2020 02:34:36 +0000 (-0700) Subject: GP: run HIP report 60 seconds in advance of the server's interval (just as we rekey... X-Git-Tag: v8.09~18^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=306681f688c9071d5849e55fd96d07afd40a6edf;p=users%2Fdwmw2%2Fopenconnect.git GP: run HIP report 60 seconds in advance of the server's interval (just as we rekey 60 seconds in advance) Signed-off-by: Daniel Lenski --- diff --git a/auth-globalprotect.c b/auth-globalprotect.c index 73910760..e9c1edca 100644 --- a/auth-globalprotect.c +++ b/auth-globalprotect.c @@ -408,7 +408,7 @@ static int parse_portal_xml(struct openconnect_info *vpninfo, xmlNode *xml_node, vpn_progress(vpninfo, PRG_INFO, _("Ignoring portal's HIP report interval (%d minutes), because interval is already set to %d minutes.\n"), sec/60, vpninfo->trojan_interval/60); else { - vpninfo->trojan_interval = sec; + vpninfo->trojan_interval = sec - 60; vpn_progress(vpninfo, PRG_INFO, _("Portal set HIP report interval to %d minutes).\n"), sec/60); }