aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-06-11 12:19:42 +0200
committerAnders Svensson <[email protected]>2013-06-11 12:19:42 +0200
commitc80d324e1eeb34129e63e10b00cff688988b0296 (patch)
treea85fa28fa741d2ca18b02e2bf6c2347967c0ff60 /lib/diameter/test
parent9919508b2cc177ec4afdb53bb9d20563973461f8 (diff)
parent9bbf27eb94877dea7229223de62d28f0d0206709 (diff)
downloadotp-c80d324e1eeb34129e63e10b00cff688988b0296.tar.gz
otp-c80d324e1eeb34129e63e10b00cff688988b0296.tar.bz2
otp-c80d324e1eeb34129e63e10b00cff688988b0296.zip
Merge branch 'anders/diameter/peer_address_config/OTP-10893' into maint
* anders/diameter/peer_address_config/OTP-10893: Let diameter_{tcp,sctp} be configured with permissible remote addresses Fix diameter_{tcp,sctp} spec Remove trailing whitespace
Diffstat (limited to 'lib/diameter/test')
-rw-r--r--lib/diameter/test/diameter_util.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/test/diameter_util.erl b/lib/diameter/test/diameter_util.erl
index aa489fef5f..92c72c84e7 100644
--- a/lib/diameter/test/diameter_util.erl
+++ b/lib/diameter/test/diameter_util.erl
@@ -336,7 +336,7 @@ opts(Prot, T) ->
{transport_config, [{ip, ?ADDR}, {port, 0} | opts(T)]}].
opts(listen) ->
- [];
+ [{accept, M} || M <- [{256,0,0,1}, ["256.0.0.1", ["^.+$"]]]];
opts(PortNr) ->
[{raddr, ?ADDR}, {rport, PortNr}].