]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Return on all errors
authorRoy Marples <roy@marples.name>
Thu, 11 Oct 2007 13:21:02 +0000 (13:21 +0000)
committerRoy Marples <roy@marples.name>
Thu, 11 Oct 2007 13:21:02 +0000 (13:21 +0000)
ipv4ll.c

index bb6a7b1f2247ca81c4851de0c15eb036e9af60e6..e56e13f78480b9965307bf10c8d4ac7cb4f46ea8 100644 (file)
--- 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);
        }