1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

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

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."); log_radv("Received invalid source address from ICMPv6 socket. Ignoring.");
break; break;
case -EAGAIN: /* ignore spurious wakeups */
break;
default: default:
log_radv_errno(r, "Error receiving from ICMPv6 socket: %m"); log_radv_errno(r, "Unexpected error receiving from ICMPv6 socket: %m");
break; break;
} }