Add multi network dialing

This commit is contained in:
世界
2024-11-12 19:37:10 +08:00
parent 8cb11bf322
commit 15a9876a10
26 changed files with 994 additions and 341 deletions

View File

@@ -166,7 +166,7 @@ func (t *Transport) updateServers() error {
}
}
func (t *Transport) interfaceUpdated(int) {
func (t *Transport) interfaceUpdated(defaultInterface *control.Interface, flags int) {
err := t.updateServers()
if err != nil {
t.options.Logger.Error("update servers: ", err)