Commit a382c9a9 authored by Andrius Bentkus's avatar Andrius Bentkus Committed by Trevor Norris
Browse files

udp: make it possible to receive empty udp packets



A udp packet can have 0 content. In that case nread will be equal to 0,
but addr != NULL.

Add test case for empty data gram packets and fixed test that checked
for OOB when length == 0.

Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 20247064
Supports Markdown
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