diff --git a/src/pgw/pgw-s5c-handler.c b/src/pgw/pgw-s5c-handler.c index aad230bf3e..3ec961e45a 100644 --- a/src/pgw/pgw-s5c-handler.c +++ b/src/pgw/pgw-s5c-handler.c @@ -164,7 +164,7 @@ void pgw_s5c_handle_create_session_request( } /* Set User Location Information */ - if (req->user_location_information.presence == 0) { + if (req->user_location_information.presence == 1) { decoded = ogs_gtp_parse_uli(&uli, &req->user_location_information); ogs_assert(req->user_location_information.len == decoded); memcpy(&sess->tai.plmn_id, &uli.tai.plmn_id, sizeof(uli.tai.plmn_id));