fixed beacon protocol bug
This commit is contained in:
1 parent
c9d466380d
commit
e1c6fe975d
1 file changed
+3
-2
@@ -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 );
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user