mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
initialize tapif's mtu to 1500
This commit is contained in:
parent
a57c91404f
commit
cfab6dc28b
@ -346,9 +346,9 @@ tapif_init(struct netif *netif)
|
||||
netif->name[1] = IFNAME1;
|
||||
netif->output = tapif_output;
|
||||
netif->linkoutput = low_level_output;
|
||||
netif->mtu = 1500;
|
||||
|
||||
tapif->ethaddr = (struct eth_addr *)&(netif->hwaddr[0]);
|
||||
|
||||
low_level_init(netif);
|
||||
etharp_init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user