summaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_libgtp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-22 10:03:21 +0800
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-22 10:05:56 +0800
commit0f7a279a06bf10e83b8f5fbadb6871eebabc7dc1 (patch)
treed621c2503e4d5b5594d64603fec997a96d8d0c0a /openbsc/src/gprs/sgsn_libgtp.c
parentc1c6a28c8d58022131a6c3fd7303f53033888d6d (diff)
sgsn: Change the selection mode to verified
We have verified/selected the APN. Either based on the subscriber data, a global APN match. But at least this SGSN has looked at what the MS has asked for and then selected a matching GGSN.
Diffstat (limited to 'openbsc/src/gprs/sgsn_libgtp.c')
-rw-r--r--openbsc/src/gprs/sgsn_libgtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c
index 19c46b7c3..6aa12b27c 100644
--- a/openbsc/src/gprs/sgsn_libgtp.c
+++ b/openbsc/src/gprs/sgsn_libgtp.c
@@ -153,8 +153,8 @@ struct sgsn_pdp_ctx *sgsn_create_pdp_ctx(struct sgsn_ggsn_ctx *ggsn,
pdp->hisaddr1 = ggsn->remote_addr;
//pdp->cch_pdp = 512; /* Charging Flat Rate */
- /* MS provided APN, subscription not verified */
- pdp->selmode = 0xFC | 0x01;
+ /* MS provided APN, subscription was verified by the caller */
+ pdp->selmode = 0xFC | 0x00;
/* IMSI, TEID/TEIC, FLLU/FLLC, TID, NSAPI set in pdp_newpdp */