From 04d7357f8a94ee14b5efd22056a8a734a78bc87e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 19 Feb 2013 16:32:48 +0000 Subject: [PATCH] Fix last commit. --- arp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arp.c b/arp.c index 8737c8fc..0f24266e 100644 --- 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: -- 2.47.2