Small tweak: clarify use of link speed in comments for NETIF_INIT_SNMP.

This commit is contained in:
jifl
2007-10-03 09:10:28 +00:00
parent c52ef1d2b3
commit 5dd1256769
2 changed files with 6 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ struct netif {
#define NETIF_INIT_SNMP(netif, type, speed) \
/* use "snmp_ifType" enum from snmp.h for "type", snmp_ifType_ethernet_csmacd by example */ \
netif->link_type = type; \
/* your link speed here */ \
/* your link speed here (units: bits per second) */ \
netif->link_speed = speed; \
netif->ts = 0; \
netif->ifinoctets = 0; \