-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Problems running on Linux #93
Comments
thank you |
Yes, I can confirm, this is a problem. If there are multiple ip addresses configured for a single device the condition evaluates to false and the result is null as if there was no interface at all. In case of multiple ip addresses configured, which one should be chosen? Nevertheless, resolving the default ip address is only used when we bind to any interface -> 0.0.0.0 |
Thank you @cuican6 for reporting and @pocketbroadcast for checking this. It seems this address is only used to guess the correct broadcast address in case there is only one available interface address, otherwise it should return null so that default broadcast address is used. The original YABE code still has the same logic. @pocketbroadcast I've added a suggestion for your PR |
hi . sometimes, networkcard in linux has two or more ipaddr, but in bacnet =>BacnetIpUdpProtocolTransport.cs=>GetAddressDefaultInterface method,two or more ipaddress is bad, in my submission,there canbe write return unicastAddresses.Length >= 1
? unicastAddresses.First()
: null;
sir,tell me my proposal is correct?
other,i binding ip in bacnetclient, BacnetClient client = new BacnetClient(.....,"192.168.1.200");in this ,i send whois ,can't receive response , no event of oniam trigger, but i confirm the package of whois has send, the other client (don't bind ip) has received message of i am.
think you.
The text was updated successfully, but these errors were encountered: