Comment 1 for bug 541359

Revision history for this message
Jeff Hill (johill-lanl) wrote :

Committed this fix. The database inst building at the moment so I tested with excas - which should be a good test because both PCAS and RSRV use the same common component in CA where the fix was applied.

cvs diff -wb -- iocinf.cpp (in directory C:\hill\R3.14.dll_hell_fix\epics\base\src\ca\)
Index: iocinf.cpp
===================================================================
RCS file: /net/phoebus/epicsmgr/cvsroot/epics/base/src/ca/iocinf.cpp,v
retrieving revision 1.23.2.5
diff -u -b -w -b -r1.23.2.5 iocinf.cpp
--- iocinf.cpp 22 Sep 2008 18:20:56 -0000 1.23.2.5
+++ iocinf.cpp 9 Feb 2009 16:48:55 -0000
@@ -97,7 +97,7 @@
             continue;
         }

- if ( ignoreNonDefaultPort && addr.sin_port != port ) {
+ if ( ignoreNonDefaultPort && ntohs ( addr.sin_port ) != port ) {
             continue;
         }

***** CVS exited normally with code 1 *****