mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-27 21:35:48 +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->name[1] = IFNAME1;
|
||||||
netif->output = tapif_output;
|
netif->output = tapif_output;
|
||||||
netif->linkoutput = low_level_output;
|
netif->linkoutput = low_level_output;
|
||||||
|
netif->mtu = 1500;
|
||||||
|
|
||||||
tapif->ethaddr = (struct eth_addr *)&(netif->hwaddr[0]);
|
tapif->ethaddr = (struct eth_addr *)&(netif->hwaddr[0]);
|
||||||
|
|
||||||
low_level_init(netif);
|
low_level_init(netif);
|
||||||
etharp_init();
|
etharp_init();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user