aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gprs_subscriber.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-07-01 15:24:44 +0200
committerMax <msuraev@sysmocom.de>2016-07-01 15:24:44 +0200
commit896c6f8e9e608374605abfec4b58ce44313a59bb (patch)
tree2d1e3b4114028580d748e634133c16978c960f2b /openbsc/src/gprs/gprs_subscriber.c
parent488902db2ac6c8815cb50dac0aab32f96190cd65 (diff)
SGSN: force GSUP CN domain to PS
Always set CN domain in outgoing GSUP packets to PS to make it compatible with osmo-auc. Change-Id: Ia6ee2e55a41a8ea9e465d7df1b2b3559b553fca8 Related: OS#1582
Diffstat (limited to 'openbsc/src/gprs/gprs_subscriber.c')
-rw-r--r--openbsc/src/gprs/gprs_subscriber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_subscriber.c b/openbsc/src/gprs/gprs_subscriber.c
index 71f5ff188..658ce045b 100644
--- a/openbsc/src/gprs/gprs_subscriber.c
+++ b/openbsc/src/gprs/gprs_subscriber.c
@@ -165,7 +165,7 @@ static int gprs_subscr_tx_gsup_message(struct gsm_subscriber *subscr,
if (strlen(gsup_msg->imsi) == 0 && subscr)
strncpy(gsup_msg->imsi, subscr->imsi, sizeof(gsup_msg->imsi) - 1);
-
+ gsup_msg->cn_domain = OSMO_GSUP_CN_DOMAIN_PS;
osmo_gsup_encode(msg, gsup_msg);
LOGGSUBSCRP(LOGL_INFO, subscr,