We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cn.xeblog.plugin.action.handler.command.LoginCommandHandler#getMac
建议把 if 换成while if (networkInterfaces.hasMoreElements()) {...} => while(networkInterfaces.hasMoreElements()) {...}
多个网卡第一个为本地的时候,用if获取不到
换成while 获取到第一个mac就返回了,刚刚好
The text was updated successfully, but these errors were encountered:
非常感谢👍
Sorry, something went wrong.
No branches or pull requests
cn.xeblog.plugin.action.handler.command.LoginCommandHandler#getMac
建议把 if 换成while
if (networkInterfaces.hasMoreElements()) {...} => while(networkInterfaces.hasMoreElements()) {...}
多个网卡第一个为本地的时候,用if获取不到
换成while 获取到第一个mac就返回了,刚刚好
The text was updated successfully, but these errors were encountered: