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

diff --git a/arp.c b/arp.c
index 8737c8fc617fbb8804991880b4d1d45f54b5e591..0f24266e3a8d623aa99dfe2b349dcdc9fe55e87d 100644 (file)
--- a/arp.c
+++ b/arp.c
@@ -77,6 +77,7 @@ send_arp(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 send_raw_packet(ifp, ETHERTYPE_ARP, arp_buffer, len);
 
 eexit: