Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取主机网络连接信息时按索引从小到大排序,优先使用索引值小的网络接口。 #669

Merged
merged 1 commit into from
Aug 13, 2023

Conversation

oSunnyo
Copy link

@oSunnyo oSunnyo commented Jun 30, 2023

获取主机网络连接信息时按索引从小到大排序,优先使用索引值小的网络接口。
选择索引值最小的网络接口的原因是,操作系统通常会将默认的网络接口分配给较小的索引。通过选择索引值最小的网络接口,更有可能获得与默认网络接口相关联的IP地址。

@KFCFans
Copy link
Member

KFCFans commented Jul 1, 2023

感谢PR,测试后会进行合并~

@KFCFans KFCFans merged commit 88ebd5e into PowerJob:master Aug 13, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants