sd-radv: EAGAIN is not really unexpected, distinguishit from other errors when logging

This commit is contained in:
Lennart Poettering 2018-10-02 16:26:50 +02:00
parent 437524f178
commit 8eb41f4c08
1 changed files with 4 additions and 1 deletions

View File

@ -249,8 +249,11 @@ static int radv_recv(sd_event_source *s, int fd, uint32_t revents, void *userdat
log_radv("Received invalid source address from ICMPv6 socket. Ignoring.");
break;
case -EAGAIN: /* ignore spurious wakeups */
break;
default:
log_radv_errno(r, "Error receiving from ICMPv6 socket: %m");
log_radv_errno(r, "Unexpected error receiving from ICMPv6 socket: %m");
break;
}