diff options
author | Anders Svensson <[email protected]> | 2013-01-21 17:34:36 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-02-08 19:28:46 +0100 |
commit | f0a36c79af84c044ba04af3602506624a5ee8799 (patch) | |
tree | 010c75f2ef263fc666354276e3ce020fc0e87fbb /lib/diameter/include/diameter.hrl | |
parent | d8ef1f220f1a85ff883fa288cd641430667525d7 (diff) | |
download | otp-f0a36c79af84c044ba04af3602506624a5ee8799.tar.gz otp-f0a36c79af84c044ba04af3602506624a5ee8799.tar.bz2 otp-f0a36c79af84c044ba04af3602506624a5ee8799.zip |
Don't hardcode common dictionary
Instead, use whatever dictionary a transport has configured as
supporting application id 0. This is to support the updated RFC 6733
dictionaries (which bring with them updated records) and also to be able
to transparently support any changed semantics (eg. 5xxx in
answer-message).
Diffstat (limited to 'lib/diameter/include/diameter.hrl')
-rw-r--r-- | lib/diameter/include/diameter.hrl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/diameter/include/diameter.hrl b/lib/diameter/include/diameter.hrl index beb577afaf..5ee898c3dd 100644 --- a/lib/diameter/include/diameter.hrl +++ b/lib/diameter/include/diameter.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2012. All Rights Reserved. +%% Copyright Ericsson AB 2010-2013. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -25,7 +25,11 @@ -define(DIAMETER_APP_ID_ACCOUNTING, 3). -define(DIAMETER_APP_ID_RELAY, 16#FFFFFFFF). -%% Corresponding dictionaries: +%% Corresponding dictionaries. These macros are deprecated now that +%% there is an RFC6733 whose dictionaries are not strictly backwards +%% compatible. The RFC 6733 common and accounting dictionaries are +%% diameter_gen_base_rfc6733 and diameter_gen_acct_rfc6733 +%% respectively. -define(DIAMETER_DICT_COMMON, diameter_gen_base_rfc3588). -define(DIAMETER_DICT_ACCOUNTING, diameter_gen_base_accounting). -define(DIAMETER_DICT_RELAY, diameter_gen_relay). |