mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-04 13:50:15 +00:00
Bump version 0.7.3
This commit is contained in:
parent
f8c902b61c
commit
04db15f553
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tun2proxy"
|
name = "tun2proxy"
|
||||||
version = "0.7.2"
|
version = "0.7.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/tun2proxy/tun2proxy"
|
repository = "https://github.com/tun2proxy/tun2proxy"
|
||||||
|
|
|
@ -86,6 +86,7 @@ pub unsafe extern "C" fn tun2proxy_with_fd_run(
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub unsafe extern "C" fn tun2proxy_run_with_cli_args(cli_args: *const c_char, tun_mtu: c_ushort, packet_information: bool) -> c_int {
|
pub unsafe extern "C" fn tun2proxy_run_with_cli_args(cli_args: *const c_char, tun_mtu: c_ushort, packet_information: bool) -> c_int {
|
||||||
let Ok(cli_args) = std::ffi::CStr::from_ptr(cli_args).to_str() else {
|
let Ok(cli_args) = std::ffi::CStr::from_ptr(cli_args).to_str() else {
|
||||||
|
log::error!("Failed to convert CLI arguments to string");
|
||||||
return -5;
|
return -5;
|
||||||
};
|
};
|
||||||
let Some(args) = shlex::split(cli_args) else {
|
let Some(args) = shlex::split(cli_args) else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue