From e090cfbc64f2d81249a020d194607ebb72ec8d6b Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 20 Nov 2000 17:43:40 +0000 Subject: [PATCH] replace nill beacon addr as nec --- src/ca/repeater.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ca/repeater.cpp b/src/ca/repeater.cpp index 93729fb67..d8e9a5c86 100644 --- a/src/ca/repeater.cpp +++ b/src/ca/repeater.cpp @@ -542,13 +542,18 @@ void epicsShareAPI ca_repeater () continue; } } + else if ( ntohs ( pMsg->m_cmmd ) == CA_PROTO_RSRV_IS_UP ) { + if ( pMsg->m_available == 0u ) { + pMsg->m_available = from.ia.sin_addr.s_addr; + } + } } else if ( size == 0 ) { register_new_client ( from ); continue; } - fanOut ( from, pMsg, size ); + fanOut ( from, pMsg, size ); } }