From fdeff7f64fc9280a347be9e8a6fcfac9d173e0c4 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 12 Apr 2019 17:09:50 +0200 Subject: [PATCH] software/libnet/microudp: set raw frame size to ETHMAC_SLOT_SIZE --- litex/soc/software/libnet/microudp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/libnet/microudp.c b/litex/soc/software/libnet/microudp.c index 90b73a7e..be23d733 100644 --- a/litex/soc/software/libnet/microudp.c +++ b/litex/soc/software/libnet/microudp.c @@ -111,7 +111,7 @@ struct ethernet_frame { typedef union { struct ethernet_frame frame; - unsigned char raw[1532]; + unsigned char raw[ETHMAC_SLOT_SIZE]; } ethernet_buffer; -- 2.30.2