aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/include
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-05-28 08:35:54 +0200
committerAnders Svensson <[email protected]>2014-05-28 08:35:54 +0200
commit495b44babd659247f674ef88d50440e10891e138 (patch)
tree08752dd791cd94edaf71fd53dc42de9c8759f65c /lib/diameter/include
parent95ffa9b741631752633b3c97dfcd1ce620574e94 (diff)
parent631522514dbd409dbb789103b54bd81c879aff34 (diff)
downloadotp-495b44babd659247f674ef88d50440e10891e138.tar.gz
otp-495b44babd659247f674ef88d50440e10891e138.tar.bz2
otp-495b44babd659247f674ef88d50440e10891e138.zip
Merge branch 'anders/diameter/hardening/OTP-11721' into maint
* anders/diameter/hardening/OTP-11721: Change answer_errors default from report to discard
Diffstat (limited to 'lib/diameter/include')
-rw-r--r--lib/diameter/include/diameter.hrl5
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).