From e0c2c14dc38e97671cca6a2a5731e41298db68e9 Mon Sep 17 00:00:00 2001 From: David Cohen <9508807+osimarr@users.noreply.github.com> Date: Tue, 1 Mar 2022 01:41:29 -0600 Subject: [PATCH] Fix gpservice after openconnect v8.20 (#124) --- GPService/gpservice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPService/gpservice.cpp b/GPService/gpservice.cpp index f290c90..5623649 100644 --- a/GPService/gpservice.cpp +++ b/GPService/gpservice.cpp @@ -181,7 +181,7 @@ void GPService::onProcessStdout() QString output = openconnect->readAllStandardOutput(); log(output); - if (output.indexOf("Connected as") >= 0) { + if (output.indexOf("Connected as") >= 0 || output.indexOf("Configured as") >= 0) { vpnStatus = GPService::VpnConnected; emit connected(); }