From: Roy Marples Date: Tue, 19 Feb 2013 16:32:02 +0000 (+0000) Subject: Fix last commit. X-Git-Tag: v5.99.6~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1928a876d6e3b1ad1dbd7afd59ab5f58c6b1f033;p=thirdparty%2Fdhcpcd.git Fix last commit. --- diff --git a/arp.c b/arp.c index ea3f0b32..d3b09fa3 100644 --- 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: