diff options
| author | Roy Marples <roy@marples.name> | 2007-11-07 10:15:14 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-11-07 10:15:14 +0000 |
| commit | de8a9d9887e862c9fefc9b6ff3520c572a57b924 (patch) | |
| tree | 75d2b37e5be274da2240c96e5b0d0b42de1d7e86 /arp.c | |
| parent | cfe160119d801f24ee3e99cf2778b7475085c70d (diff) | |
| download | dhcpcd-de8a9d9887e862c9fefc9b6ff3520c572a57b924.tar.xz | |
Clear the signal_pipe fd from the fdset when all signals have
been read.
Diffstat (limited to 'arp.c')
| -rw-r--r-- | arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -143,7 +143,7 @@ int arp_claim (interface_t *iface, struct in_addr address) maxfd = signal_fd_set (&rset, iface->fd); if ((s = select (maxfd + 1, &rset, NULL, NULL, &tv)) == -1) { if (errno == EINTR) { - if (signal_read (NULL) == -1) { + if (signal_exists (NULL) == -1) { errno = 0; continue; } else |
