fixup remove APN from tunnel request
This commit is contained in:
parent
7fd21d1fe5
commit
bc1a4da647
|
@ -67,8 +67,6 @@ METHOD(listener_t, eap_authorize, bool,
|
|||
goto err;
|
||||
}
|
||||
|
||||
/* TODO: validate if this APN is allowed! */
|
||||
|
||||
if (resp->gsup.message_type != OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT)
|
||||
{
|
||||
DBG1(DBG_NET, "epdg_listener: Update Location Error! Cause: %02x", resp->gsup.cause);
|
||||
|
@ -89,7 +87,6 @@ METHOD(listener_t, authorize, bool,
|
|||
{
|
||||
int ret;
|
||||
identification_t* imsi_id;
|
||||
char apn[APN_MAXLEN];
|
||||
char imsi[16] = {0};
|
||||
DBG1(DBG_NET, "Authorized: uniq 0x%08x, name %s final: %d, eap: %d!",
|
||||
ike_sa->get_unique_id(ike_sa),
|
||||
|
@ -115,14 +112,6 @@ METHOD(listener_t, authorize, bool,
|
|||
goto err;
|
||||
}
|
||||
|
||||
apn[0] = 0;
|
||||
ret = get_apn(ike_sa, apn, APN_MAXLEN);
|
||||
if (!ret && ret != -EINVAL)
|
||||
{
|
||||
DBG1(DBG_NET, "epdg_listener: Tunnel Request: Couldn't get APN!");
|
||||
goto err;
|
||||
}
|
||||
|
||||
osmo_epdg_gsup_response_t *resp = this->gsup->tunnel_request(this->gsup, imsi);
|
||||
if (!resp)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue