Fixed overflow of udp packets