mirror of https://github.com/PentHertz/srsLTE.git
Small changes
This commit is contained in:
parent
031997d629
commit
9f79b4167f
|
@ -467,7 +467,7 @@ s1ap_nas_transport::pack_attach_accept(ue_ctx_t *ue_ctx, LIBLTE_S1AP_E_RABTOBESE
|
|||
m_s1ap_log->info("Packing Attach Accept\n");
|
||||
|
||||
//Attach accept
|
||||
attach_accept.eps_attach_result = LIBLTE_MME_EPS_ATTACH_RESULT_COMBINED_EPS_IMSI_ATTACH;
|
||||
attach_accept.eps_attach_result = LIBLTE_MME_EPS_ATTACH_RESULT_EPS_ONLY;
|
||||
//Mandatory
|
||||
//FIXME: Set t3412 from config
|
||||
attach_accept.t3412.unit = LIBLTE_MME_GPRS_TIMER_UNIT_1_MINUTE; // GPRS 1 minute unit
|
||||
|
|
|
@ -326,8 +326,8 @@ spgw::handle_sgi_pdu(srslte::byte_buffer_t *msg)
|
|||
|
||||
dest_addr.s_addr = dest_ip;
|
||||
|
||||
m_spgw_log->console("IP version: %d\n", version);
|
||||
m_spgw_log->console("Received packet to IP: %s\n", inet_ntoa(dest_addr));
|
||||
//m_spgw_log->console("IP version: %d\n", version);
|
||||
//m_spgw_log->console("Received packet to IP: %s\n", inet_ntoa(dest_addr));
|
||||
|
||||
pthread_mutex_lock(&m_mutex);
|
||||
gtp_fteid_it = m_ip_to_teid.find(dest_ip);
|
||||
|
@ -340,7 +340,7 @@ spgw::handle_sgi_pdu(srslte::byte_buffer_t *msg)
|
|||
|
||||
if(ip_found == false)
|
||||
{
|
||||
m_spgw_log->console("IP Packet is not for any UE\n");
|
||||
//m_spgw_log->console("IP Packet is not for any UE\n");
|
||||
return;
|
||||
}
|
||||
struct sockaddr_in enb_addr;
|
||||
|
@ -370,7 +370,7 @@ spgw::handle_sgi_pdu(srslte::byte_buffer_t *msg)
|
|||
m_spgw_log->console("Error sending packet to eNB\n");
|
||||
return;
|
||||
}
|
||||
m_spgw_log->console("Sent packet to %s:%d. Bytes=%d\n",inet_ntoa(enb_addr.sin_addr), GTPU_RX_PORT,n);
|
||||
//m_spgw_log->console("Sent packet to %s:%d. Bytes=%d\n",inet_ntoa(enb_addr.sin_addr), GTPU_RX_PORT,n);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue