summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-01-17 18:01:00 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2018-01-17 18:01:00 +0100
commit2073c4199723c2908c84d2cc5c1d45a8996e49ad (patch)
tree97d6af552bf9dd7b360cc678e4508ca278dacb07
parentd829b55309891908e919880ee11bb75a61444b3c (diff)
HACK: Workaround buggy mgw newline parserdaniel/mgcp-emulation
-rw-r--r--library/MGCP_Types.ttcn4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/MGCP_Types.ttcn b/library/MGCP_Types.ttcn
index 9d1a4e1..ea14da9 100644
--- a/library/MGCP_Types.ttcn
+++ b/library/MGCP_Types.ttcn
@@ -64,7 +64,7 @@ module MGCP_Types {
variant "BEGIN('')"
variant "SEPARATOR(': ', ':[\t ]+')"
//variant "END('\r\n', '(\n)|(\r\n)')"
- variant "END('\r\n', '([\r\n])|(\r\n)')"
+ variant "END('\n', '([\r\n])|(\r\n)')"
}
type set of MgcpParameter MgcpParameterList with {
@@ -101,7 +101,7 @@ module MGCP_Types {
SDP_Message sdp optional
} with {
variant "BEGIN('')"
- variant (sdp) "BEGIN('\r\n','([\r\n])|(\r\n)')"
+ variant (sdp) "BEGIN('\n','([\r\n])|(\r\n)')"
}
external function enc_MgcpResponse(in MgcpResponse id) return charstring