Skip to content
Commit 430e2717 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

net: icmp: Fix return values of ICMP error send function



The return code from net_icmpv{4|6}_send_error() was not correct
if the error message could be sent. Now 0 is returned if sending
succeed, and <0 otherwise.

Change-Id: Iff67f097a9d9519c9f11d4cbc9cf428a7c74ec1b
Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 8ae7bb25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment