]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Change arp errno to match what we use in dhcpcd.
authorRoy Marples <roy@marples.name>
Tue, 19 Feb 2013 16:59:58 +0000 (16:59 +0000)
committerRoy Marples <roy@marples.name>
Tue, 19 Feb 2013 16:59:58 +0000 (16:59 +0000)
arp.c

diff --git a/arp.c b/arp.c
index d3b09fa38f2e4923fbeb70c32bb522f7761d826e..cca586c92a63b4356d19f123e95afe00fde9a63e 100644 (file)
--- a/arp.c
+++ b/arp.c
@@ -82,7 +82,7 @@ arp_send(const struct interface *ifp, int op, in_addr_t sip, in_addr_t tip)
        return ipv4_sendrawpacket(ifp, ETHERTYPE_ARP, arp_buffer, len);
 
 eexit:
-       errno = ENOSPC;
+       errno = ENOBUFS;
        return -1;
 }