Files
bacnet_stack/bacnet-stack/ports/linux
skarg 6cb014ee64 Changed the Linux BACnet/IP init to use NetMask.
The function was modified to calculate the broadcast address from IP and netmask instead of using SIOCGIFBRDADDR. In some cases it is possible that the ioctl is successful, but the returned address is 0 (e.g. search for Bcast: 0.0.0.0). For some reason in Linux the local loopback device answers from 0.0.0.0 address. So messages broadcast to that address are received from 127.0.0.1 which can possibly create a broadcast loop. This has nothing to do with NAT, but makes the stack more robust. Thank you, Sami Pietikäinen, for the contribution!
2015-02-24 21:55:31 +00:00
..
2014-11-15 17:27:27 +00:00
2004-09-22 19:08:48 +00:00
2010-05-04 21:06:26 +00:00

This is a port to Linux for testing.
The unit tests can be run via the test.sh script.