aboutsummaryrefslogtreecommitdiffstats
path: root/mgw/RTP_Endpoint.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'mgw/RTP_Endpoint.ttcn')
-rw-r--r--mgw/RTP_Endpoint.ttcn4
1 files changed, 2 insertions, 2 deletions
diff --git a/mgw/RTP_Endpoint.ttcn b/mgw/RTP_Endpoint.ttcn
index 3c939a22..c73aa588 100644
--- a/mgw/RTP_Endpoint.ttcn
+++ b/mgw/RTP_Endpoint.ttcn
@@ -111,7 +111,7 @@ module RTP_Endpoint {
sub.local_name, sub.local_port, sub.connection_id, { udp := {} });
if (not ispresent(res.connId)) {
setverdict(fail, "Could not connect RTP, check your configuration");
- self.stop;
+ mtc.stop;
}
/* connect without previous bind: save conenction id allocated by IPL4asp */
if (sub.connection_id == -1) {
@@ -136,7 +136,7 @@ module RTP_Endpoint {
res := f_IPL4_listen(RTP, sub.local_name, sub.local_port, { udp := {} });
if (not ispresent(res.connId)) {
setverdict(fail, "Could not listen to RTP, check your configuration");
- self.stop;
+ mtc.stop;
}
sub.connection_id := res.connId;
}