summaryrefslogtreecommitdiffstats
path: root/ipv4ll.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-11 13:21:02 +0000
committerRoy Marples <roy@marples.name>2007-10-11 13:21:02 +0000
commit9bb2bc68e98458ed8f8c9dde8b89faa3849ae7c9 (patch)
tree04b3e7a03275a0551161d3c666ed61fb21ebc786 /ipv4ll.c
parentfbc722ff3276df8c44010c83aa0fef4998a079fc (diff)
downloaddhcpcd-9bb2bc68e98458ed8f8c9dde8b89faa3849ae7c9.tar.xz
Return on all errors
Diffstat (limited to 'ipv4ll.c')
-rw-r--r--ipv4ll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipv4ll.c b/ipv4ll.c
index bb6a7b1f..e56e13f7 100644
--- a/ipv4ll.c
+++ b/ipv4ll.c
@@ -44,7 +44,7 @@ int ipv4ll_get_address (interface_t *iface, dhcp_t *dhcp) {
if (! arp_claim (iface, addr))
break;
/* Our ARP may have been interrupted */
- if (errno == EINTR)
+ if (errno)
return (-1);
}