Add multi network dialing

This commit is contained in:
世界
2024-11-12 19:37:10 +08:00
parent 1ff42704ae
commit 20d2cb17f5
30 changed files with 1203 additions and 371 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)