mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Fix gpservice after openconnect v8.20 (#124)
This commit is contained in:
parent
8f27c92e7b
commit
e0c2c14dc3
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user