-
Notifications
You must be signed in to change notification settings - Fork 150
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
获取mac #92
Comments
非常感谢👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: