fixed beacon protocol bug

This commit is contained in:
Jeff Hill
2000-06-27 23:38:15 +00:00
parent c9d466380d
commit e1c6fe975d
+3 -2
View File
@@ -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 );
}
//