fixed unspecified beacon source address

This commit is contained in:
Jeff Hill
2000-11-09 16:13:05 +00:00
parent a8cef4a3f3
commit bfead72b3f

View File

@@ -43,7 +43,7 @@ static char *sccsId = "@(#) $Id$";
* also called by the server. All locks required are applied at
* a higher level.
*/
#define DEBUG
#ifdef DEBUG
# define ifDepenDebugPrintf(argsInParen) printf argsInParen
#else
@@ -198,6 +198,8 @@ epicsShareFunc void epicsShareAPI caDiscoverInterfaces
continue;
}
pNewNode->srcAddr.sa = pifreq->ifr_addr;
if ( pNewNode->destAddr.sa.sa_family == AF_INET ) {
pNewNode->destAddr.in.sin_port = htons ( port );
}