mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-08-27 11:29:21 +00:00
Added initialization of per-netif snmp variables for Win32 ethernetif (pktif.c)
This commit is contained in:
parent
537c17c668
commit
719b29c359
@ -315,6 +315,8 @@ ethernetif_init(struct netif *netif)
|
|||||||
netif->flags = NETIF_FLAG_BROADCAST;
|
netif->flags = NETIF_FLAG_BROADCAST;
|
||||||
netif->hwaddr_len = 6;
|
netif->hwaddr_len = 6;
|
||||||
|
|
||||||
|
NETIF_INIT_SNMP(netif, 6, 100000000);
|
||||||
|
|
||||||
low_level_init(netif);
|
low_level_init(netif);
|
||||||
|
|
||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user