From e1c6fe975d1fc82745000435e091539b2b15f21f Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 27 Jun 2000 23:38:15 +0000 Subject: [PATCH] fixed beacon protocol bug --- src/cas/generic/casDGClient.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cas/generic/casDGClient.cc b/src/cas/generic/casDGClient.cc index 41aa21ddf..b7a2a4ef0 100644 --- a/src/cas/generic/casDGClient.cc +++ b/src/cas/generic/casDGClient.cc @@ -342,14 +342,15 @@ void casDGClient::sendBeacon () // // create the message // - memset (&buf, 0, sizeof(msg)); + memset ( &buf, 0, sizeof (msg) ); + msg.m_cmmd = htons (CA_PROTO_RSRV_IS_UP); // // send it to all addresses on the beacon list, // but let the IO specific code set the address // field and the port field // - this->sendBeaconIO (buf, sizeof(msg), msg.m_cmmd, msg.m_available); + this->sendBeaconIO ( buf, sizeof (msg), msg.m_count, msg.m_available ); } //