mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-31 11:52:14 +00:00
Bump version 0.2.6
This commit is contained in:
parent
9a4bd9f800
commit
2434c62524
4 changed files with 10 additions and 7 deletions
|
@ -15,8 +15,10 @@
|
|||
+ (void)startWithConfig:(NSString *)proxy_url
|
||||
tun_fd:(int)tun_fd
|
||||
tun_mtu:(uint32_t)tun_mtu
|
||||
dns_strategy:(ArgDns)dns_strategy
|
||||
verbosity:(ArgVerbosity)verbosity {
|
||||
dns_over_tcp:(bool)dns_over_tcp
|
||||
verbose:(bool)verbose {
|
||||
ArgDns dns_strategy = dns_over_tcp ? OverTcp : Direct;
|
||||
ArgVerbosity verbosity = verbose ? Trace : Info;
|
||||
tun2proxy_run(proxy_url.UTF8String, tun_fd, tun_mtu, dns_strategy, verbosity);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue