Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ofp_ifnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ int ofp_mac_set(struct ofp_ifnet *ifnet)
/* Set interface MTU*/
int ofp_mtu_set(struct ofp_ifnet *ifnet)
{
uint16_t max_frame_size = odp_pktout_maxlen(ifnet->pktio);
uint32_t max_frame_size = odp_pktout_maxlen(ifnet->pktio);

ifnet->if_mtu = OFP_MTU_SIZE;

Expand Down