aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-02-06 18:24:26 +0100
committerAnders Svensson <[email protected]>2013-02-08 19:28:47 +0100
commite49e7acc2af99bbd06fa028168f9e1549cc5c658 (patch)
treeff94bd6cdddeadbe6aa5b0bb1182a5564088b554 /lib/diameter/src/base/diameter.erl
parent1e6f879d41fd023f815609268447e763a9206396 (diff)
downloadotp-e49e7acc2af99bbd06fa028168f9e1549cc5c658.tar.gz
otp-e49e7acc2af99bbd06fa028168f9e1549cc5c658.tar.bz2
otp-e49e7acc2af99bbd06fa028168f9e1549cc5c658.zip
Split message handling in diameter_service into diameter_traffic
Traffic handling is connected to the service implementation through the pick_peer callback and failover but diameter_service was getting unwieldy as home to both the service process and traffic handling.
Diffstat (limited to 'lib/diameter/src/base/diameter.erl')
-rw-r--r--lib/diameter/src/base/diameter.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl
index 8f9901907a..6be544e950 100644
--- a/lib/diameter/src/base/diameter.erl
+++ b/lib/diameter/src/base/diameter.erl
@@ -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
@@ -213,7 +213,7 @@ origin_state_id() ->
-> any().
call(SvcName, App, Message, Options) ->
- diameter_service:call(SvcName, {alias, App}, Message, Options).
+ diameter_traffic:send_request(SvcName, {alias, App}, Message, Options).
call(SvcName, App, Message) ->
call(SvcName, App, Message, []).