]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix last commit.
authorRoy Marples <roy@marples.name>
Tue, 19 Feb 2013 16:32:02 +0000 (16:32 +0000)
committerRoy Marples <roy@marples.name>
Tue, 19 Feb 2013 16:32:02 +0000 (16:32 +0000)
arp.c

diff --git a/arp.c b/arp.c
index ea3f0b3252d0cdd7d17ad3462e50eebddabc73b8..d3b09fa38f2e4923fbeb70c32bb522f7761d826e 100644 (file)
--- a/arp.c
+++ b/arp.c
@@ -78,6 +78,7 @@ arp_send(const struct interface *ifp, int op, in_addr_t sip, in_addr_t tip)
        APPEND(&sip, sizeof(sip));
        ZERO(ifp->hwlen);
        APPEND(&tip, sizeof(tip));
+       len = p - arp_buffer;
        return ipv4_sendrawpacket(ifp, ETHERTYPE_ARP, arp_buffer, len);
 
 eexit: