Changed ??? to LINK_SPEED_OF_YOUR_NETIF_IN_BPS

This commit is contained in:
goldsimon 2009-04-17 10:14:09 +00:00
parent 422ba5bcec
commit 04df18bcd3

View File

@ -290,7 +290,7 @@ ethernetif_init(struct netif *netif)
* The last argument should be replaced with your link speed, in units
* of bits per second.
*/
NETIF_INIT_SNMP(netif, snmp_ifType_ethernet_csmacd, ???);
NETIF_INIT_SNMP(netif, snmp_ifType_ethernet_csmacd, LINK_SPEED_OF_YOUR_NETIF_IN_BPS);
netif->state = ethernetif;
netif->name[0] = IFNAME0;