Skip to content

Commit

Permalink
libndp: allow mysendto6() to fail when iface is down and for other er…
Browse files Browse the repository at this point in the history
…rors

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
  • Loading branch information
jpirko committed Jun 7, 2013
1 parent e966609 commit 39e1f53
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libndp/libndp.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,6 @@ static int mysendto6(int sockfd, void *buf, size_t buflen, int flags,
switch(errno) {
case EINTR:
goto resend;
case ENETDOWN:
case ENETUNREACH:
case EADDRNOTAVAIL:
case ENXIO:
return 0;
default:
return -errno;
}
Expand Down

0 comments on commit 39e1f53

Please sign in to comment.