Add multi network dialing

This commit is contained in:
世界
2024-11-12 19:37:10 +08:00
parent dcb10c21a1
commit bb46cdb2b3
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)