# HG changeset patch # User Sebastien Decugis # Date 1284543331 -32400 # Node ID 85ba85b4739c491bda5c511e26ca97579fbc9bf1 # Parent 5938566235f9c76a3072a67ecbac17b6e1e3b6ca Cleanups diff -r 5938566235f9 -r 85ba85b4739c INSTALL.FreeBSD --- a/INSTALL.FreeBSD Wed Sep 15 18:35:25 2010 +0900 +++ b/INSTALL.FreeBSD Wed Sep 15 18:35:31 2010 +0900 @@ -50,7 +50,6 @@ 8) Compile, optionnaly test # make # make test - Note: on FreeBSD <= 8.1 on amd64, SCTP does not work properly, causing testsctp & testcnx to fail. 9) Install # make install diff -r 5938566235f9 -r 85ba85b4739c freeDiameter/endpoints.c --- a/freeDiameter/endpoints.c Wed Sep 15 18:35:25 2010 +0900 +++ b/freeDiameter/endpoints.c Wed Sep 15 18:35:31 2010 +0900 @@ -74,7 +74,7 @@ if (IN_IS_ADDR_UNSPECIFIED(&ptr.sin->sin_addr) || IN_IS_ADDR_LOOPBACK(&ptr.sin->sin_addr) /* the next one filters both EXPERIMENTAL, BADCLASS and MULTICAST. */ - || (((ptr.sin->sin_addr.s_addr) & ntohl(0xe0000000)) == ntohl(0xe0000000)) + || ((ntohl(ptr.sin->sin_addr.s_addr) & 0xe0000000) == 0xe0000000) || (ptr.sin->sin_addr.s_addr == INADDR_BROADCAST)) { if (TRACE_BOOL(ANNOYING + 1)) { TRACE_DEBUG(ANNOYING, " DEBUG:fd_ep_add_merge Address was ignored, not added.");