mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-16 06:54:14 +00:00
Enhance DNS and Dialer (#341)
This commit is contained in:
parent
ad1807dd99
commit
db32ce6fd9
22 changed files with 682 additions and 290 deletions
|
@ -2,7 +2,7 @@ package conf
|
|||
|
||||
import (
|
||||
"github.com/xtls/xray-core/common/serial"
|
||||
"github.com/xtls/xray-core/transport"
|
||||
"github.com/xtls/xray-core/transport/global"
|
||||
"github.com/xtls/xray-core/transport/internet"
|
||||
)
|
||||
|
||||
|
@ -16,8 +16,8 @@ type TransportConfig struct {
|
|||
}
|
||||
|
||||
// Build implements Buildable.
|
||||
func (c *TransportConfig) Build() (*transport.Config, error) {
|
||||
config := new(transport.Config)
|
||||
func (c *TransportConfig) Build() (*global.Config, error) {
|
||||
config := new(global.Config)
|
||||
|
||||
if c.TCPConfig != nil {
|
||||
ts, err := c.TCPConfig.Build()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue