For the file
openbts/Control/L3MobilityManagement.cpp
there is the function ....
static void checkForConfigChanges()
{
// TODO: we could save these in the TMSI table properties so that we dont clear the auth cache when
// the BTS is rebooted.
static string saveOpenRegistrationPat, saveRejectPat;
string openRegistrationPat(gConfig.getStr("Control.LUR.OpenRegistration"));
string rejectPat(gConfig.getStr("Control.LUR.OpenRegistration.Reject"));
For the file openbts/Control/L3MobilityManagement.cpp there is the function ....
static void checkForConfigChanges() { // TODO: we could save these in the TMSI table properties so that we dont clear the auth cache when // the BTS is rebooted. static string saveOpenRegistrationPat, saveRejectPat; string openRegistrationPat(gConfig.getStr("Control.LUR.OpenRegistration")); string rejectPat(gConfig.getStr("Control.LUR.OpenRegistration.Reject"));
}
The comparison saveRejectPat != rejectPat is used in "if" statement and also in the subsequent code-block.
I presume the block should contain saveRejectPat = rejectPat; instead of the no-effect-call saveRejectPat != rejectPat;
Cheers.