mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-18 06:54:02 -04:00
support domain as host in VMess outbound config.
This commit is contained in:
@@ -42,7 +42,7 @@ func TestDokodemoTCP(t *testing.T) {
|
||||
InboundConfigValue: &mocks.ConnectionConfig{
|
||||
ProtocolValue: "dokodemo-door",
|
||||
SettingsValue: &json.DokodemoConfig{
|
||||
Host: "127.0.0.1",
|
||||
Host: v2netjson.NewIPHost(net.ParseIP("127.0.0.1")),
|
||||
Port: port,
|
||||
NetworkList: &networkList,
|
||||
TimeoutValue: 0,
|
||||
@@ -104,7 +104,7 @@ func TestDokodemoUDP(t *testing.T) {
|
||||
InboundConfigValue: &mocks.ConnectionConfig{
|
||||
ProtocolValue: "dokodemo-door",
|
||||
SettingsValue: &json.DokodemoConfig{
|
||||
Host: "127.0.0.1",
|
||||
Host: v2netjson.NewIPHost(net.ParseIP("127.0.0.1")),
|
||||
Port: port,
|
||||
NetworkList: &networkList,
|
||||
TimeoutValue: 0,
|
||||
|
Reference in New Issue
Block a user