send server port with beacon
This commit is contained in:
@@ -1490,7 +1490,7 @@ db_field_log *pfl
|
||||
* assert() is safe here because the type was
|
||||
* checked by db_get_field()
|
||||
*/
|
||||
assert (mp->m_type < NELEMENTS(cac_dbr_cvrt));
|
||||
assert (pevext->msg.m_type < NELEMENTS(cac_dbr_cvrt));
|
||||
|
||||
/* use type as index into conversion jumptable */
|
||||
(* cac_dbr_cvrt[pevext->msg.m_type])
|
||||
|
||||
@@ -138,7 +138,8 @@ int rsrv_online_notify_task()
|
||||
abort();
|
||||
|
||||
bfill((char *)&msg, sizeof msg, 0);
|
||||
msg.m_cmmd = htons(CA_PROTO_RSRV_IS_UP);
|
||||
msg.m_cmmd = htons (CA_PROTO_RSRV_IS_UP);
|
||||
msg.m_count = htons (ca_server_port);
|
||||
|
||||
ellInit(&beaconAddrList);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user