X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fdiameter.comm%2FEntity.cpp;h=fc071486611f783c17d8653aa648a97703474739;hb=3df6432f30bd5316c35e66ee2da8a9760a8e15f3;hp=d5b3dd398ce50e7eaf7b19972c7a2fbc6022ddac;hpb=d723d5bf571eb48c641b092058eaa38bb6c4fcc8;p=anna.git diff --git a/source/diameter.comm/Entity.cpp b/source/diameter.comm/Entity.cpp index d5b3dd3..fc07148 100644 --- a/source/diameter.comm/Entity.cpp +++ b/source/diameter.comm/Entity.cpp @@ -40,6 +40,7 @@ void Entity::initialize() throw() { a_category = 0; a_lastUsedResource = NULL; a_balance = false; + a_sessionBasedModelsType = SessionBasedModelsType::SessionIdLowPart; } @@ -353,9 +354,9 @@ std::string Entity::asString() const throw() { std::string originHost = a_engine->getOriginHostName(); result += "Parent Engine Origin-Realm: "; - result += (originRealm != "") ? originRealm:""; + result += (originRealm != "") ? originRealm:"[not configured]"; result += " | Parent Engine Origin-Host: "; - result += (originHost != "") ? originHost:""; + result += (originHost != "") ? originHost:"[not configured]"; result += " | Category: "; result += anna::functions::asString(a_category);