software/libnet/microudp: set raw frame size to ETHMAC_SLOT_SIZE

This commit is contained in:
Florent Kermarrec 2019-04-12 17:09:50 +02:00
parent 1569e2e0cf
commit fdeff7f64f
1 changed files with 1 additions and 1 deletions

View File

@ -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;