software/libnet/microudp: set raw frame size to ETHMAC_SLOT_SIZE
This commit is contained in:
parent
1569e2e0cf
commit
fdeff7f64f
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue