aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_capx.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-11-05 11:46:25 +0100
committerAnders Svensson <[email protected]>2012-11-05 11:46:25 +0100
commit7e83e75aae5f9eaa85e527db3fbbad01dffe0d4b (patch)
treef79612114384e4318f7ed8036c7d9bc8ec7b3574 /lib/diameter/src/base/diameter_capx.erl
parent2fac860004a2eece19c62053b3c0fd5210ca7051 (diff)
parentf4db5c422a17735f4e571276332ce8582b563aac (diff)
downloadotp-7e83e75aae5f9eaa85e527db3fbbad01dffe0d4b.tar.gz
otp-7e83e75aae5f9eaa85e527db3fbbad01dffe0d4b.tar.bz2
otp-7e83e75aae5f9eaa85e527db3fbbad01dffe0d4b.zip
Merge branch 'maint'
Diffstat (limited to 'lib/diameter/src/base/diameter_capx.erl')
-rw-r--r--lib/diameter/src/base/diameter_capx.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_capx.erl b/lib/diameter/src/base/diameter_capx.erl
index 6c4d60ee9b..190d37262b 100644
--- a/lib/diameter/src/base/diameter_capx.erl
+++ b/lib/diameter/src/base/diameter_capx.erl
@@ -141,7 +141,9 @@ cap('Host-IP-Address', Vs)
when is_list(Vs) ->
lists:map(fun ipaddr/1, Vs);
-cap('Firmware-Revision', V) ->
+cap(K, V)
+ when K == 'Firmware-Revision';
+ K == 'Origin-State-Id' ->
[V];
cap(_, Vs)
@@ -149,7 +151,7 @@ cap(_, Vs)
Vs;
cap(K, V) ->
- ?THROW({invalid, K, V}).
+ ?THROW({invalid, {K,V}}).
ipaddr(A) ->
try