aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-23 12:29:28 +0200
committerAnders Svensson <[email protected]>2017-08-23 14:07:45 +0200
commitdfa762240900a512a38d57feb71ac77cff7f625c (patch)
treec93278be98cd0012f7f2315504bcce86aaef420a /lib/diameter
parent040bdce67f88d833bfb59adae130a4ffb4c180f0 (diff)
downloadotp-dfa762240900a512a38d57feb71ac77cff7f625c.tar.gz
otp-dfa762240900a512a38d57feb71ac77cff7f625c.tar.bz2
otp-dfa762240900a512a38d57feb71ac77cff7f625c.zip
Fix compatibility of remote send
By changing the definition of the request record, commit f489c0d5 broke sending an outgoing request over a peer connection terminated on a remote node running an older version of diameter. The modified fields aren't even used on the remote node, so simply reintroduce one of the fields so that the size of the tuple is unchanged.
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/base/diameter_traffic.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl
index 85378babea..33e8e03f72 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -89,6 +89,7 @@
caller :: pid() | undefined, %% calling process
handler :: pid(), %% request process
peer :: undefined | {pid(), #diameter_caps{}},
+ caps :: undefined, %% no longer used
packet :: #diameter_packet{} | undefined}). %% of request
%% ---------------------------------------------------------------------------