mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
升级全部内核
This commit is contained in:
@@ -348,6 +348,7 @@ func (b *Sing) AddNode(tag string, info *panel.NodeInfo, config *conf.Options) e
|
||||
b.ctx,
|
||||
b.box.Router(),
|
||||
b.logFactory.NewLogger(F.ToString("inbound/", c.Type, "[", tag, "]")),
|
||||
tag,
|
||||
c,
|
||||
nil,
|
||||
)
|
||||
|
||||
@@ -57,8 +57,10 @@ func New(c *conf.CoreConfig) (vCore.Core, error) {
|
||||
options.NTP = &option.NTPOptions{
|
||||
Enabled: c.SingConfig.NtpConfig.Enable,
|
||||
WriteToSystem: true,
|
||||
Server: c.SingConfig.NtpConfig.Server,
|
||||
ServerPort: c.SingConfig.NtpConfig.ServerPort,
|
||||
ServerOptions: option.ServerOptions{
|
||||
Server: c.SingConfig.NtpConfig.Server,
|
||||
ServerPort: c.SingConfig.NtpConfig.ServerPort,
|
||||
},
|
||||
}
|
||||
os.Setenv("SING_DNS_PATH", "")
|
||||
options.DNS = &option.DNSOptions{}
|
||||
|
||||
Reference in New Issue
Block a user