mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-14 13:47:24 +08:00
fix ring buffer stuck when using multi thread runtime
This commit is contained in:
@@ -292,7 +292,6 @@ rust_i18n::i18n!("locales", fallback = "en");
|
||||
|
||||
impl Cli {
|
||||
fn parse_listeners(no_listener: bool, listeners: Vec<String>) -> Vec<String> {
|
||||
println!("parsing listeners: {:?}", listeners);
|
||||
let proto_port_offset = vec![("tcp", 0), ("udp", 0), ("wg", 1), ("ws", 1), ("wss", 2)];
|
||||
|
||||
if no_listener || listeners.is_empty() {
|
||||
@@ -376,7 +375,6 @@ impl From<Cli> for TomlConfigLoader {
|
||||
|
||||
let cfg = TomlConfigLoader::default();
|
||||
|
||||
|
||||
cfg.set_hostname(cli.hostname);
|
||||
|
||||
cfg.set_network_identity(NetworkIdentity::new(cli.network_name, cli.network_secret));
|
||||
|
||||
Reference in New Issue
Block a user