Browse Source

Bump version 0.7.3

pull/186/head v0.7.3
ssrlive 1 year ago
parent
commit
04db15f553
  1. 2
      Cargo.toml
  2. 1
      src/general_api.rs

2
Cargo.toml

@ -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"

1
src/general_api.rs

@ -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 {

Loading…
Cancel
Save