bug fix and improve (#81)

1. fix manual connector do not retry if dns resolve failed.
2. allow not creating tun device if no virtual ipv4 is assigned.
This commit is contained in:
Sijie.Sun
2024-05-05 16:18:05 +08:00
committed by GitHub
parent 638013a93d
commit e5b537267e
4 changed files with 27 additions and 13 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ pub enum GlobalCtxEvent {
ConnectionError(String, String, String), // (local url, remote url, error message)
Connecting(url::Url),
ConnectError(String, String), // (dst, error message)
ConnectError(String, String, String), // (dst, ip version, error message)
VpnPortalClientConnected(String, String), // (portal, client ip)
VpnPortalClientDisconnected(String, String), // (portal, client ip)