mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
add es and pt support to shange status when connected to vpn
This commit is contained in:
parent
5788474d7e
commit
f278cd4629
@ -199,7 +199,9 @@ void GPService::onProcessStdout()
|
||||
QString output = openconnect->readAllStandardOutput();
|
||||
|
||||
log(output);
|
||||
if (output.indexOf("Connected as") >= 0 || output.indexOf("Configured as") >= 0) {
|
||||
if (output.indexOf("Connected as") >= 0 ||
|
||||
output.indexOf("Configured as") >= 0 ||
|
||||
output.indexOf("Configurado como") >= 0) {
|
||||
vpnStatus = GPService::VpnConnected;
|
||||
emit connected();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user