mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-01 12:00:53 +00:00
Add NETIF_FLAG_ETHARP flag and comments in this skeleton.
This commit is contained in:
parent
f1412f5e5a
commit
f75be85eea
@ -78,8 +78,9 @@ low_level_init(struct netif *netif)
|
|||||||
/* maximum transfer unit */
|
/* maximum transfer unit */
|
||||||
netif->mtu = 1500;
|
netif->mtu = 1500;
|
||||||
|
|
||||||
/* broadcast capability */
|
/* device capabilities */
|
||||||
netif->flags = NETIF_FLAG_BROADCAST;
|
/* don't set NETIF_FLAG_ETHARP if this device is not an ethernet one */
|
||||||
|
netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP;
|
||||||
|
|
||||||
/* Do whatever else is needed to initialize interface. */
|
/* Do whatever else is needed to initialize interface. */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user