| 8 | } |
| 9 | |
| 10 | static bool isProtocol(const QString &str) |
| 11 | { |
| 12 | QString sub = str.split(':').first(); |
| 13 | |
| 14 | if (sub == "wireguard" || sub == "ikev2" || sub == "udp" || sub == "tcp" || sub == "stealth" || sub == "wstunnel") { |
| 15 | return true; |
| 16 | } |
| 17 | return false; |
| 18 | } |
| 19 | |
| 20 | static QString getProtocol(const QString &str) |
| 21 | { |
no outgoing calls
no test coverage detected