// a Diameter client, server, proxy, or translation agent and either the AVP or its value is unrecognized, the message MUST be rejected.
// Diameter Relay and redirect agents MUST NOT reject messages with unrecognized AVPs.
if(!getStackAvp() && mandatoryBit()) {
// a Diameter client, server, proxy, or translation agent and either the AVP or its value is unrecognized, the message MUST be rejected.
// Diameter Relay and redirect agents MUST NOT reject messages with unrecognized AVPs.
if(!getStackAvp() && mandatoryBit()) {
- if(answer) {
- answer->setResultCode(helpers::base::AVPVALUES__Result_Code::DIAMETER_AVP_UNSUPPORTED);
- answer->setFailedAvp(parent, a_id);
- }
-
- unknownAvpWithMandatoryBit();
+ unknownAvpWithMandatoryBit();
//---------------------------------------------------------------- Avp::decode()
//------------------------------------------------------------------------------
void Avp::decode(const anna::DataBlock &db) throw(anna::RuntimeException) {
//---------------------------------------------------------------- Avp::decode()
//------------------------------------------------------------------------------
void Avp::decode(const anna::DataBlock &db) throw(anna::RuntimeException) {