Commit 55b6f1ce authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

minor fix for UPF

parent c7927169
......@@ -120,6 +120,11 @@ void spgwu_s1u::handle_receive(char* recv_buffer, const std::size_t bytes_transf
gtp_payload_offset += 4;
gtp_payload_length -= 4;
}
if (gtp_flags & 0x04) {
gtp_payload_offset += 4;
gtp_payload_length -= 4;
}
uint32_t tunnel_id = be32toh(gtpuh->teid);
struct iphdr* iph = (struct iphdr*)&recv_buffer[gtp_payload_offset];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment