summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-07-05 03:17:00 +0200
committerHarald Welte <laforge@gnumonks.org>2019-03-27 11:17:49 +0000
commite81d84edd2e2a37e0c07a4f67643c6c659dbb4b4 (patch)
treec709605acd590d25f1d4469e5bf56640007c23ac
parent5e514fa3dbf2d9c1d06e55f79acf6a821e5daa0b (diff)
NS_Emulation: Disable sending NS-RESET from SGSN to BSS
-rw-r--r--library/NS_Emulation.ttcn4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/NS_Emulation.ttcn b/library/NS_Emulation.ttcn
index 9ad89cb..89e25ea 100644
--- a/library/NS_Emulation.ttcn
+++ b/library/NS_Emulation.ttcn
@@ -91,7 +91,9 @@ module NS_Emulation {
g_conn_id := res.connId;
f_change_state(NSE_S_DEAD_BLOCKED);
/* Send the first NS-ALIVE to test the connection */
- f_sendReset();
+ if (not config.role_sgsn) {
+ f_sendReset();
+ }
}
type component NS_CT {