Fixed typo in invalid ip header length

Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
master
David Lin 5 years ago committed by Andre Puschmann
parent 5b8b718482
commit be7c5a009d

@ -214,7 +214,7 @@ void spgw::gtpu::handle_sgi_pdu(srslte::byte_buffer_t* msg)
return;
}
if (ntohs(iph->tot_len) < 20) {
m_gtpu_log->warning("Invalid IP header length. IP lenght %d.\n", ntohs(iph->tot_len));
m_gtpu_log->warning("Invalid IP header length. IP length %d.\n", ntohs(iph->tot_len));
return;
}

Loading…
Cancel
Save