mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 06:25:25 +03:00
sd-pppoe: spelling
Thanks to Daniele Medri
This commit is contained in:
parent
6f5c810ad6
commit
d5ce1cfce4
@ -716,7 +716,7 @@ static int pppoe_receive_message(sd_event_source *s, int fd, uint32_t revents, v
|
||||
|
||||
len = recvfrom(fd, packet, buflen, 0, &link.sa, &addrlen);
|
||||
if (len < 0) {
|
||||
log_warning("PPPoE: colud not receive message from raw socket: %s", strerror(-r));
|
||||
log_warning("PPPoE: could not receive message from raw socket: %s", strerror(-r));
|
||||
return 0;
|
||||
} else if ((size_t)len < sizeof(struct pppoe_hdr))
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user