agent: Correct maximum UDP data length
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 21 Jan 2014 09:51:29 +0000 (09:51 +0000)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Fri, 31 Jan 2014 06:49:00 +0000 (01:49 -0500)
commitd638586cab1e8b8f90aa2a8de353ae490ddd5f16
tree711ba508cc1babb7c4be74c3450bac72e2efa049
parentb222b1bff3950e162a621e199c6897206fa45a4e
agent: Correct maximum UDP data length

The maximum number of bytes in a UDP packet (ignoring problems like
fragmentation and MTUs) is 65535 = 2^16-1 bytes, as the length field
in the packet header is 16b wide.
agent/agent.c