diff options
author | Anders Svensson <[email protected]> | 2014-05-27 09:45:54 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2014-05-27 09:52:21 +0200 |
commit | 631522514dbd409dbb789103b54bd81c879aff34 (patch) | |
tree | b03e4af06c11e4edbf96e667110d71b6e0d71c0a /lib/diameter/include/diameter.hrl | |
parent | 2d5e6f4d438db1a480e44c539155e334c11851bc (diff) | |
download | otp-631522514dbd409dbb789103b54bd81c879aff34.tar.gz otp-631522514dbd409dbb789103b54bd81c879aff34.tar.bz2 otp-631522514dbd409dbb789103b54bd81c879aff34.zip |
Change answer_errors default from report to discard
In the same vein as commit 00584303, to avoid logging traffic-related
happenings.
Not that the value in diameter.hrl is just documentation: the value is
set explicitly when diameter:start_service/2 creates diameter_app
records.
Diffstat (limited to 'lib/diameter/include/diameter.hrl')
-rw-r--r-- | lib/diameter/include/diameter.hrl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/diameter/include/diameter.hrl b/lib/diameter/include/diameter.hrl index 5a40e42300..c2c271a9a3 100644 --- a/lib/diameter/include/diameter.hrl +++ b/lib/diameter/include/diameter.hrl @@ -126,7 +126,7 @@ default, extra = []}). -%% The diameter service and diameter_apps records are only passed +%% The diameter service and diameter_app records are only passed %% through the transport interface when starting a transport process, %% although typically a transport implementation will (and probably %% should) only be interested host_ip_address. @@ -143,6 +143,7 @@ init_state, %% option 'state', initial callback state id, %% 32-bit unsigned application identifier = Dict:id() mutable = false, %% boolean(), do traffic callbacks modify state? - options = [{answer_errors, report}, %% | callback | discard + options = [{answer_errors, discard}, %% | callback | report {request_errors, answer_3xxx}]}). %% | callback | answer + -endif. %% -ifdef(diameter_hrl). |