aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-03-20 22:22:41 +0100
committerAnders Svensson <[email protected]>2015-03-24 10:57:03 +0100
commit23cd65b80b395ad83e69618989ccc0bef13edd0a (patch)
tree7b060645cc420324e8e100514f48f4a316ecdb0a
parentda83265894153a9cee7c7627441c99084ad97f85 (diff)
downloadotp-23cd65b80b395ad83e69618989ccc0bef13edd0a.tar.gz
otp-23cd65b80b395ad83e69618989ccc0bef13edd0a.tar.bz2
otp-23cd65b80b395ad83e69618989ccc0bef13edd0a.zip
Set {string_decode, false} in examples
So as to do what's now recommended in diameter(1), in the grandparent commit.
-rw-r--r--lib/diameter/examples/code/client.erl1
-rw-r--r--lib/diameter/examples/code/relay.erl1
-rw-r--r--lib/diameter/examples/code/server.erl1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/diameter/examples/code/client.erl b/lib/diameter/examples/code/client.erl
index be5b4cbba5..9b0972c8d1 100644
--- a/lib/diameter/examples/code/client.erl
+++ b/lib/diameter/examples/code/client.erl
@@ -68,6 +68,7 @@
{'Vendor-Id', 0},
{'Product-Name', "Client"},
{'Auth-Application-Id', [0]},
+ {string_decode, false},
{application, [{alias, common},
{dictionary, diameter_gen_base_rfc6733},
{module, client_cb}]}]).
diff --git a/lib/diameter/examples/code/relay.erl b/lib/diameter/examples/code/relay.erl
index 0aa3cd06d3..e50d1a33f0 100644
--- a/lib/diameter/examples/code/relay.erl
+++ b/lib/diameter/examples/code/relay.erl
@@ -49,6 +49,7 @@
{'Vendor-Id', 193},
{'Product-Name', "RelayAgent"},
{'Auth-Application-Id', [16#FFFFFFFF]},
+ {string_decode, false},
{application, [{alias, relay},
{dictionary, diameter_relay},
{module, relay_cb}]}]).
diff --git a/lib/diameter/examples/code/server.erl b/lib/diameter/examples/code/server.erl
index 8c91e68895..0de94018f9 100644
--- a/lib/diameter/examples/code/server.erl
+++ b/lib/diameter/examples/code/server.erl
@@ -53,6 +53,7 @@
{'Vendor-Id', 193},
{'Product-Name', "Server"},
{'Auth-Application-Id', [0]},
+ {string_decode, false},
{application, [{alias, common},
{dictionary, diameter_gen_base_rfc6733},
{module, server_cb}]}]).