From 30412e11d96828a519e11c200393dafb898010bc Mon Sep 17 00:00:00 2001 From: Anders Svensson Date: Mon, 30 Jul 2012 01:47:23 +0200 Subject: Update example code --- lib/diameter/examples/code/peer.erl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/diameter/examples/code/peer.erl b/lib/diameter/examples/code/peer.erl index b07cd32b98..8fdeba57bf 100644 --- a/lib/diameter/examples/code/peer.erl +++ b/lib/diameter/examples/code/peer.erl @@ -117,6 +117,11 @@ server(T) -> %% %% Return config for a connecting transport. +client({all, LA, RA, RP}) -> + [[M,{K,C}], T] + = [client({P, LA, RA, RP}) || P <- [sctp,tcp]], + [M, {K,C,2000} | T]; + client({T, LA, RA, RP}) -> [{transport_module, tmod(T)}, {transport_config, [{ip, addr(LA)}, -- cgit v1.2.3