anchor.diff:          ?'DIAMETER_BASE_RESULT-CODE_AVP_UNSUPPORTED').
   -define(UNSUPPORTED_VERSION,
           ?'DIAMETER_BASE_RESULT-CODE_UNSUPPORTED_VERSION').
  +-define(TOO_MANY,
  +        ?'DIAMETER_BASE_RESULT-CODE_AVP_OCCURS_TOO_MANY_TIMES').
   -define(REALM_NOT_SERVED,
           ?'DIAMETER_BASE_RESULT-CODE_REALM_NOT_SERVED').
   -define(UNABLE_TO_DELIVER,
  
positive.code:     Offset = L - length(Padding) - 4,
      <<H:Offset/binary, Len:24, T/binary>> = Bin,
      E#diameter_packet{bin = <<H/binary, (Len+9):24, T/binary>>};
  
  prepare(Pkt, Caps, N, #group{client_dict = Dict0} = Group)
    when N == send_long_avp_length;
  
negative.code:                     is_mandatory = true,
                      value = 12,
                      data = <<12:32>>}]]
          = failed_avps(Avps, Config).
  
  %% Try to two Auth-Application-Id in ASR expect 5009.
  send_too_many(Config) ->
      Req = ['ASR'],
  
      ['ASA' | #{'Session-Id' := _,
                 'Result-Code' := ?TOO_MANY,
                 'Failed-AVP' := Avps}]
          = call(Config, Req),
      [[#diameter_avp{name = 'Auth-Application-Id',
                      value = 42}]]
          = failed_avps(Avps, Config).
  
  %% Send an containing a faulty Grouped AVP (empty Proxy-Host in
  