@@ -328,7 +328,7 @@ public async Task<RetResult> GenerateClientSpeedtestConfig(List<ServerTestItem>
328
328
{
329
329
listen = Global . Loopback ,
330
330
port = port ,
331
- protocol = EInboundProtocol . socks . ToString ( ) ,
331
+ protocol = EInboundProtocol . mixed . ToString ( ) ,
332
332
} ;
333
333
inbound . tag = inbound . protocol + inbound . port . ToString ( ) ;
334
334
v2rayConfig . inbounds . Add ( inbound ) ;
@@ -403,7 +403,7 @@ public async Task<RetResult> GenerateClientSpeedtestConfig(ProfileItem node, int
403
403
tag = $ "{ EInboundProtocol . socks } { port } ",
404
404
listen = Global . Loopback ,
405
405
port = port ,
406
- protocol = EInboundProtocol . socks . ToString ( ) ,
406
+ protocol = EInboundProtocol . mixed . ToString ( ) ,
407
407
} ) ;
408
408
409
409
ret . Msg = string . Format ( ResUI . SuccessfulConfiguration , "" ) ;
@@ -507,7 +507,7 @@ private Inbounds4Ray GetInbound(InItem inItem, EInboundProtocol protocol, bool b
507
507
}
508
508
inbound . tag = protocol . ToString ( ) ;
509
509
inbound . port = inItem . LocalPort + ( int ) protocol ;
510
- inbound . protocol = EInboundProtocol . socks . ToString ( ) ;
510
+ inbound . protocol = EInboundProtocol . mixed . ToString ( ) ;
511
511
inbound . settings . udp = inItem . UdpEnabled ;
512
512
inbound . sniffing . enabled = inItem . SniffingEnabled ;
513
513
inbound . sniffing . destOverride = inItem . DestOverride ;
0 commit comments