From 04df18bcd3606e7d167a7d0aa43c83a83adef1dc Mon Sep 17 00:00:00 2001 From: goldsimon Date: Fri, 17 Apr 2009 10:14:09 +0000 Subject: [PATCH] Changed ??? to LINK_SPEED_OF_YOUR_NETIF_IN_BPS --- src/netif/ethernetif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;