diff options
author | Haggai Eran <haggai.eran@gmail.com> | 2019-02-19 15:04:42 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-02-19 17:14:24 +0000 |
commit | 46ae2ef0f94c6ac63db22d67196ac764735f0c2e (patch) | |
tree | 3eedf06cd8978d0c1194cb213d250927d0d7108c /src/vnet/udp/udp_encap.h | |
parent | f1b4e52a6e9f8ec74127da194ec5bbaccd63b87c (diff) |
ldp: return byte count from a successful recvfrom
Unless there's an error, recvfrom should return the number of bytes
received. The current code returns zero on success due to
ldp_copy_ep_to_sockaddr returning zero.
Change-Id: Ib843b99a08c44b5ee2d16efe9edab0cf5df65170
Signed-off-by: Haggai Eran <haggai.eran@gmail.com>
Diffstat (limited to 'src/vnet/udp/udp_encap.h')
0 files changed, 0 insertions, 0 deletions