allow EPICS_PVAS_INTF_ADDR_LIST=127.0.0.1, tests pass now

This commit is contained in:
Matej Sekoranja
2016-02-25 10:37:44 +01:00
parent 7bfe58f1e2
commit 9be026efc7
2 changed files with 7 additions and 4 deletions

View File

@@ -387,8 +387,13 @@ int discoverInterfaces(IfaceNodeVector &list, SOCKET socket, const osiSockAddr *
}
#endif
else {
/*ifDepenDebugPrintf ( ( "discoverInterfaces(): net intf \"%s\": not point to point or bcast?\n", pIfreqList->ifr_name ) );*/
continue;
if (match)
node.ifaceBCast.sa.sa_family = AF_UNSPEC;
else
{
/*ifDepenDebugPrintf ( ( "discoverInterfaces(): net intf \"%s\": not point to point or bcast?\n", pIfreqList->ifr_name ) );*/
continue;
}
}