]> 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 17:00:49 +0000 (17:00 +0000)
committerRoy Marples <roy@marples.name>
Tue, 19 Feb 2013 17:00:49 +0000 (17:00 +0000)
arp.c

diff --git a/arp.c b/arp.c
index 0f24266e3a8d623aa99dfe2b349dcdc9fe55e87d..d25bfc98ba4b71f46c72c986850643f953d5eaf3 100644 (file)
--- a/arp.c
+++ b/arp.c
@@ -81,7 +81,7 @@ send_arp(const struct interface *ifp, int op, in_addr_t sip, in_addr_t tip)
        return send_raw_packet(ifp, ETHERTYPE_ARP, arp_buffer, len);
 
 eexit:
-       errno = ENOSPC;
+       errno = ENOBUFS;
        return -1;
 }