changeset 1869:4447b9139224 draft

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