summaryrefslogtreecommitdiffstats
path: root/arp.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-07 10:15:14 +0000
committerRoy Marples <roy@marples.name>2007-11-07 10:15:14 +0000
commitde8a9d9887e862c9fefc9b6ff3520c572a57b924 (patch)
tree75d2b37e5be274da2240c96e5b0d0b42de1d7e86 /arp.c
parentcfe160119d801f24ee3e99cf2778b7475085c70d (diff)
downloaddhcpcd-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arp.c b/arp.c
index 72574d02..e42781cc 100644
--- a/arp.c
+++ b/arp.c
@@ -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