mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-02-08 17:18:13 -05:00
commit
244b370004
@ -202,6 +202,9 @@ func buildTrojan(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, inboun
|
|||||||
s := []byte("{}")
|
s := []byte("{}")
|
||||||
inbound.Settings = (*json.RawMessage)(&s)
|
inbound.Settings = (*json.RawMessage)(&s)
|
||||||
}
|
}
|
||||||
|
if nodeInfo.Network == "" {
|
||||||
|
nodeInfo.Network = "tcp"
|
||||||
|
}
|
||||||
t := coreConf.TransportProtocol(nodeInfo.Network)
|
t := coreConf.TransportProtocol(nodeInfo.Network)
|
||||||
inbound.StreamSetting = &coreConf.StreamConfig{Network: &t}
|
inbound.StreamSetting = &coreConf.StreamConfig{Network: &t}
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user