@@ -328,7 +328,7 @@ public async Task<RetResult> GenerateClientSpeedtestConfig(List<ServerTestItem>
328328 {
329329 listen = Global . Loopback ,
330330 port = port ,
331- protocol = EInboundProtocol . socks . ToString ( ) ,
331+ protocol = EInboundProtocol . mixed . ToString ( ) ,
332332 } ;
333333 inbound . tag = inbound . protocol + inbound . port . ToString ( ) ;
334334 v2rayConfig . inbounds . Add ( inbound ) ;
@@ -403,7 +403,7 @@ public async Task<RetResult> GenerateClientSpeedtestConfig(ProfileItem node, int
403403 tag = $ "{ EInboundProtocol . socks } { port } ",
404404 listen = Global . Loopback ,
405405 port = port ,
406- protocol = EInboundProtocol . socks . ToString ( ) ,
406+ protocol = EInboundProtocol . mixed . ToString ( ) ,
407407 } ) ;
408408
409409 ret . Msg = string . Format ( ResUI . SuccessfulConfiguration , "" ) ;
@@ -507,7 +507,7 @@ private Inbounds4Ray GetInbound(InItem inItem, EInboundProtocol protocol, bool b
507507 }
508508 inbound . tag = protocol . ToString ( ) ;
509509 inbound . port = inItem . LocalPort + ( int ) protocol ;
510- inbound . protocol = EInboundProtocol . socks . ToString ( ) ;
510+ inbound . protocol = EInboundProtocol . mixed . ToString ( ) ;
511511 inbound . settings . udp = inItem . UdpEnabled ;
512512 inbound . sniffing . enabled = inItem . SniffingEnabled ;
513513 inbound . sniffing . destOverride = inItem . DestOverride ;
0 commit comments