diff --git a/src/netif/ethernetif.c b/src/netif/ethernetif.c index 8e5cefcc..ccd7bd67 100644 --- a/src/netif/ethernetif.c +++ b/src/netif/ethernetif.c @@ -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;