summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kernel/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 4d138a6..7796d34 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -492,6 +492,7 @@ void handle_network_event( network_event_t *event, void *context )
network_ipv4_address_t tmp = arp->destination_protocol_address;
arp->destination_protocol_address = arp->source_protocol_address;
arp->source_protocol_address = tmp;
+ event->buf.length = sizeof( network_ethernet_packet_header_t ) + sizeof( network_arp_packet_t );
((network_vtable_t *)( global_context.network->base.vtable ))->send( global_context.network, event->buf );
}