summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-10-17 13:16:51 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-10-24 13:23:09 +0200
commitb775d634f3632c4738dc4060384588e6b1cd5228 (patch)
tree0da4abe966f60111a62502aec496d93597c049dc
parent3eae8ec9ef15fd9b4e63b5dbff8f2fd5aba52221 (diff)
ss7: Set configured AS traffic mode when sending Routing Key Register msg
Otherwise default OSMO_SS7_AS_TMOD_OVERRIDE=0 value is always set regardless of the VTY config "traffic-mode" under AS node. Related: OS#4220 Change-Id: I5d24772f07e77cc3ba6edfa819bb9bc0266a1064
-rw-r--r--src/xua_default_lm_fsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xua_default_lm_fsm.c b/src/xua_default_lm_fsm.c
index 880f89c..338f4ae 100644
--- a/src/xua_default_lm_fsm.c
+++ b/src/xua_default_lm_fsm.c
@@ -184,6 +184,7 @@ static int lm_timer_cb(struct osmo_fsm_inst *fi)
}
/* Fill in settings from first AS (TODO: multiple AS support) */
prim->u.rk_reg.key = as->cfg.routing_key;
+ prim->u.rk_reg.traf_mode = as->cfg.mode;
osmo_xlm_sap_down(lmp->asp, &prim->oph);
break;
case T_WAIT_NOTIFY_RKM: