ldp: return byte count from a successful recvfrom 84/17684/3
authorHaggai Eran <haggai.eran@gmail.com>
Tue, 19 Feb 2019 13:04:42 +0000 (15:04 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 19 Feb 2019 17:14:24 +0000 (17:14 +0000)
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>

No differences found