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;
}
}

View File

@@ -63,7 +63,6 @@ int ChannelAccessIFTest::runAllTest() {
.add("EPICS_PVA_ADDR_LIST", "127.0.0.1")
.add("EPICS_PVA_AUTO_ADDR_LIST","0")
.add("EPICS_PVA_SERVER_PORT", "0")
.add("EPICS_PVA_BROADCAST_PORT", "0")
.push_map()
.build());
@@ -75,7 +74,6 @@ int ChannelAccessIFTest::runAllTest() {
ConfigurationFactory::registerConfiguration("pvAccess-client",
ConfigurationBuilder()
.push_config(base_config)
.add("EPICS_PVA_BROADCAST_PORT", tstserv->getBroadcastPort())
.push_map()
.build());
ScopedClientFactory SCF;