diff options
author | Anders Svensson <[email protected]> | 2017-08-19 18:28:22 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-19 23:53:24 +0200 |
commit | 0ad00d91398c093af6139bd4b8e452d7f6133636 (patch) | |
tree | 2bdf938cc0441dd505425a4a4a976f779f0a7ea3 /lib/diameter | |
parent | 2a4ec066046a5953527e496226f10171e229ae3e (diff) | |
download | otp-0ad00d91398c093af6139bd4b8e452d7f6133636.tar.gz otp-0ad00d91398c093af6139bd4b8e452d7f6133636.tar.bz2 otp-0ad00d91398c093af6139bd4b8e452d7f6133636.zip |
Use loopback/any config in examples suite
Diffstat (limited to 'lib/diameter')
-rw-r--r-- | lib/diameter/test/diameter_examples_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/test/diameter_examples_SUITE.erl b/lib/diameter/test/diameter_examples_SUITE.erl index eb99f10fe6..ee44ed8dc9 100644 --- a/lib/diameter/test/diameter_examples_SUITE.erl +++ b/lib/diameter/test/diameter_examples_SUITE.erl @@ -344,7 +344,7 @@ top(Dir, LibDir) -> start({server, Prot}) -> ok = diameter:start(), ok = server:start(), - {ok, Ref} = server:listen(Prot), + {ok, Ref} = server:listen({Prot, any, 3868}), [_] = ?util:lport(Prot, Ref), ok; @@ -352,7 +352,7 @@ start({client = Svc, Prot}) -> ok = diameter:start(), true = diameter:subscribe(Svc), ok = client:start(), - {ok, Ref} = client:connect(Prot), + {ok, Ref} = client:connect({Prot, loopback, loopback, 3868}), receive #diameter_event{info = {up, Ref, _, _, _}} -> ok end; start(Config) -> |