diff --git a/src/rsrv/caservertask.c b/src/rsrv/caservertask.c index 7f2364d38..897a117c0 100644 --- a/src/rsrv/caservertask.c +++ b/src/rsrv/caservertask.c @@ -110,6 +110,7 @@ static void req_server (void *pParm) status = bind ( IOC_sock, (struct sockaddr *) &serverAddr, sizeof ( serverAddr ) ); if ( status < 0 ) { if ( SOCKERRNO == SOCK_EADDRINUSE ) { +#ifndef vxWorks const char* multiple_iocs = getenv("EPICS_ALLOW_MULTIPLE_IOCS"); if (multiple_iocs && strcasecmp(multiple_iocs, "NO") == 0) { @@ -117,6 +118,7 @@ static void req_server (void *pParm) errlogPrintf ( "CAS: Probably already running an IOC on this computer.\n"); epicsExit(1); } +#endif /* * enable assignment of a default port * (so the getsockname() call below will