From: Eduardo Ramos Testillano Date: Sun, 12 Mar 2017 21:34:02 +0000 (+0100) Subject: Fix initialization bug X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=5f502d03da4ab544b8c28fe19d02726fc61b9a8a;p=anna.git Fix initialization bug --- diff --git a/include/anna/diameter.comm/Entity.hpp b/include/anna/diameter.comm/Entity.hpp index b372497..0dd1b90 100644 --- a/include/anna/diameter.comm/Entity.hpp +++ b/include/anna/diameter.comm/Entity.hpp @@ -52,7 +52,7 @@ class Entity { public: /** - * Defines behaviour on validation procedure: complete analysis or stop at first validation error over the message (by default) + * Sessions based models type */ struct SessionBasedModelsType { enum _v { RoundRobin, SessionIdOptionalPart, SessionIdHighPart, SessionIdLowPart /* default */ }; }; diff --git a/source/diameter.comm/Entity.cpp b/source/diameter.comm/Entity.cpp index d5b3dd3..7bc1411 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; }