send server port with beacon

This commit is contained in:
Jeff Hill
1997-06-13 09:44:52 +00:00
parent 50e53c3b60
commit fdbfab2da2
2 changed files with 3 additions and 2 deletions

View File

@@ -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])

View File

@@ -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);