mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 00:15:16 +00:00
Changed ??? to LINK_SPEED_OF_YOUR_NETIF_IN_BPS
This commit is contained in:
parent
422ba5bcec
commit
04df18bcd3
@ -290,7 +290,7 @@ ethernetif_init(struct netif *netif)
|
|||||||
* The last argument should be replaced with your link speed, in units
|
* The last argument should be replaced with your link speed, in units
|
||||||
* of bits per second.
|
* 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->state = ethernetif;
|
||||||
netif->name[0] = IFNAME0;
|
netif->name[0] = IFNAME0;
|
||||||
|
Loading…
Reference in New Issue
Block a user