diff options
author | Anders Svensson <[email protected]> | 2015-01-25 09:33:27 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-02-20 02:23:38 +0100 |
commit | ce062c0e079c8b43ba0ea74f9cc97dd1e01c6aad (patch) | |
tree | daadd1a0290e28009e6cf0f2faf8c4b1d915ee63 /lib/diameter/examples/code/server_cb.erl | |
parent | 85d44b58e75782c3e3ee8f092a0debd7dc0c371f (diff) | |
download | otp-ce062c0e079c8b43ba0ea74f9cc97dd1e01c6aad.tar.gz otp-ce062c0e079c8b43ba0ea74f9cc97dd1e01c6aad.tar.bz2 otp-ce062c0e079c8b43ba0ea74f9cc97dd1e01c6aad.zip |
Refresh example code
Which hasn't received any attention for some time. Clean it up, rename
the poorly named peer.erl (it's Diameter *nodes* that are implemented),
and make the it possible to specify arbitrary transport configuration.
Diffstat (limited to 'lib/diameter/examples/code/server_cb.erl')
-rw-r--r-- | lib/diameter/examples/code/server_cb.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/examples/code/server_cb.erl b/lib/diameter/examples/code/server_cb.erl index 9d8d395d06..071e152493 100644 --- a/lib/diameter/examples/code/server_cb.erl +++ b/lib/diameter/examples/code/server_cb.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2014. All Rights Reserved. +%% Copyright Ericsson AB 2010-2015. 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 @@ -24,7 +24,7 @@ -module(server_cb). -include_lib("diameter/include/diameter.hrl"). --include_lib("diameter/include/diameter_gen_base_rfc3588.hrl"). +-include_lib("diameter/include/diameter_gen_base_rfc6733.hrl"). %% diameter callbacks -export([peer_up/3, |