Bump version 0.7.3

This commit is contained in:
ssrlive 2025-01-07 21:15:44 +08:00
parent f8c902b61c
commit 04db15f553
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "tun2proxy"
version = "0.7.2"
version = "0.7.3"
edition = "2021"
license = "MIT"
repository = "https://github.com/tun2proxy/tun2proxy"

View file

@ -86,6 +86,7 @@ pub unsafe extern "C" fn tun2proxy_with_fd_run(
#[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 {
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;
};
let Some(args) = shlex::split(cli_args) else {