initialize tapif's mtu to 1500

This commit is contained in:
jani 2002-11-22 12:53:05 +00:00
parent a57c91404f
commit cfab6dc28b

View File

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