mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-10-23 07:42:01 +00:00
Small fixes for potential bugs in peering that were extremely unlikely ever to occur.
This commit is contained in:
@@ -198,7 +198,7 @@ bool ChannelHistory::neighborAddMeasurements(SACCHLogicalChannel* SACCH,const L3
|
||||
int thisBSCI = measurements->BSIC_NCELL(i);
|
||||
int arfcn = gNeighborTable.getARFCN(thisFreq);
|
||||
if (arfcn < 0) {
|
||||
LOG(INFO) << "Measurement report with invalid freq index:" << thisFreq << " arfcn:" << arfcn; // SVGDBG seeing this error
|
||||
LOG(INFO) << "Measurement report with invalid freq index:" << thisFreq << " arfcn:" << arfcn; // SVGDBG seeing this error (pat) Maybe fixed 10-17-2014 by ticket #1915
|
||||
continue;
|
||||
}
|
||||
this->neighborAddMeasurement(sampleTime.FN(),(unsigned)arfcn,thisBSCI,thisRxLevel);
|
||||
|
@@ -329,6 +329,7 @@ bool NeighborTable::ntAddInfo(NeighborEntry &newentry)
|
||||
NeighborTableMap::iterator mit = mNeighborMap.find(newentry.mIPAddress);
|
||||
if (mit == mNeighborMap.end()) {
|
||||
LOG(NOTICE) << "Ignoring unsolicited 'RSP NEIGHBOR_PARAMS' from " << newentry.mIPAddress;
|
||||
return false; // (pat) Added 10-17-2014. Oops.
|
||||
}
|
||||
NeighborEntry &oldentry = mit->second;
|
||||
// (pat) Added test to see if C0 or BCC changed. That would not change the beacon but we need to recheck for conflicts
|
||||
@@ -498,6 +499,7 @@ void NeighborTable::setHoldOff(string ipaddress, unsigned seconds)
|
||||
NeighborTableMap::iterator mit = mNeighborMap.find(ipaddress);
|
||||
if (mit == mNeighborMap.end()) {
|
||||
LOG(NOTICE) << "Can not set holdoff for unknown IP address:"<<ipaddress;
|
||||
return; // (pat) Added 10-17-2014. Oops.
|
||||
}
|
||||
NeighborEntry &entry = mit->second;
|
||||
entry.mHoldoff = time(NULL) + seconds;
|
||||
|
Reference in New Issue
Block a user