File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,6 +103,12 @@ pub struct ListenParams {
103103 udp_fragment : Option < bool > ,
104104 udp_timeout : Option < String > ,
105105 detour : Option < String > ,
106+ // deprecated since 1.11.0 — kept for backward-compat deserialization of old configs
107+ sniff : Option < bool > ,
108+ sniff_override_destination : Option < bool > ,
109+ sniff_timeout : Option < String > ,
110+ domain_strategy : Option < Strategy > ,
111+ udp_disable_domain_unmapping : Option < bool > ,
106112}
107113
108114#[ skip_serializing_none]
Original file line number Diff line number Diff line change @@ -35,10 +35,7 @@ pub fn generate() -> String {
3535 "mtu" : 9000 ,
3636 "stack" : "mixed" ,
3737 "auto_route" : true ,
38- "strict_route" : true ,
39- "sniff" : true ,
40- "sniff_override_destination" : true ,
41- "endpoint_independent_nat" : true
38+ "strict_route" : true
4239 }
4340 ] ,
4441 "outbounds" : [
You can’t perform that action at this time.
0 commit comments