pespin submitted this change.
sua: sua_iei_names: s/Cause/SCCP Cause/
This is how the field is named in RFC 3868 section 3.10.
This also helps identifying it from other existing field "User/Cause".
Change-Id: I106baa8d181ebfa1616cdd7efab2897dd78fc8e6
---
M src/sua.c
M tests/xua/xua_test.ok
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sua.c b/src/sua.c
index 3d9d7ec..2753cfe 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -89,7 +89,7 @@
{ SUA_IEI_DEST_ADDR, "Destination Address" },
{ SUA_IEI_SRC_REF, "Source Reference" },
{ SUA_IEI_DEST_REF, "Destination Reference" },
- { SUA_IEI_CAUSE, "Cause" },
+ { SUA_IEI_CAUSE, "SCCP Cause" },
{ SUA_IEI_SEQ_NR, "Sequence Number" },
{ SUA_IEI_RX_SEQ_NR, "Receive Sequence Number" },
{ SUA_IEI_ASP_CAPA, "ASP Capability" },
diff --git a/tests/xua/xua_test.ok b/tests/xua/xua_test.ok
index 3072a95..9d44775 100644
--- a/tests/xua/xua_test.ok
+++ b/tests/xua/xua_test.ok
@@ -75,7 +75,7 @@
=> BSSMAP-RELEASED
SCCP Input: [L2]> 04 00 00 03 01 02 03 00 01 0f 02 23 42 00
Transcoding message SCCP -> XUA
-Decoded SUA: HDR=(CO:RELRE,V=0,LEN=0), PART(T=Destination Reference,L=4,D=00000003), PART(T=Source Reference,L=4,D=00010203), PART(T=Cause,L=4,D=00000300), PART(T=Data,L=2,D=2342)
+Decoded SUA: HDR=(CO:RELRE,V=0,LEN=0), PART(T=Destination Reference,L=4,D=00000003), PART(T=Source Reference,L=4,D=00010203), PART(T=SCCP Cause,L=4,D=00000300), PART(T=Data,L=2,D=2342)
Re-Encoding decoded SUA to SCCP
SCCP Output: [L2]> 04 00 00 03 01 02 03 00 01 0f 02 23 42 00
To view, visit change 38548. To unsubscribe, or for help writing mail filters, visit settings.