remove accept_dns

This commit is contained in:
Luna Yao
2026-04-18 21:26:30 +02:00
parent 4f6f8f3d93
commit c71ab7543f
6 changed files with 4 additions and 29 deletions
+2 -1
View File
@@ -31,6 +31,8 @@ pub fn gen_default_flags() -> Flags {
#[allow(deprecated)]
quic_listen_port: u32::MAX,
#[allow(deprecated)]
accept_dns: false,
#[allow(deprecated)]
tld_dns_zone: "".to_string(),
default_protocol: "tcp".to_string(),
@@ -57,7 +59,6 @@ pub fn gen_default_flags() -> Flags {
disable_kcp_input: false,
disable_relay_kcp: false,
enable_relay_foreign_network_kcp: false,
accept_dns: false,
private_mode: false,
enable_quic_proxy: false,
disable_quic_input: false,