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();
|
QString output = openconnect->readAllStandardOutput();
|
||||||
|
|
||||||
log(output);
|
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;
|
vpnStatus = GPService::VpnConnected;
|
||||||
emit connected();
|
emit connected();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user