changeset 1868:1dcf847ba8f1 draft

Fix last commit.
author Roy Marples <roy@marples.name>
date Tue, 19 Feb 2013 16:32:02 +0000
parents 6aa0c2598a20
children 78c30103009d
files arp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/arp.c	Tue Feb 19 16:22:04 2013 +0000
+++ b/arp.c	Tue Feb 19 16:32:02 2013 +0000
@@ -78,6 +78,7 @@
 	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: