diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-06-07 08:40:47 +0200 |
---|---|---|
committer | Jiri Pirko <jiri@resnulli.us> | 2013-06-07 08:47:56 +0200 |
commit | 39e1f53dd4efc00b84ff097b15558747c92593f2 (patch) | |
tree | 0b5d3fbbf64c99855788a3fb7cb28b92178ea4e6 | |
parent | e9666098cb6b0c9e8fcfaef2f643f1eae4909f89 (diff) | |
download | libndp-39e1f53dd4efc00b84ff097b15558747c92593f2.tar.gz |
libndp: allow mysendto6() to fail when iface is down and for other errors
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-rw-r--r-- | libndp/libndp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libndp/libndp.c b/libndp/libndp.c index 1b38907..20efe90 100644 --- a/libndp/libndp.c +++ b/libndp/libndp.c @@ -197,11 +197,6 @@ resend: switch(errno) { case EINTR: goto resend; - case ENETDOWN: - case ENETUNREACH: - case EADDRNOTAVAIL: - case ENXIO: - return 0; default: return -errno; } |