no, you just need to enable the interface during system startup by calling
netif_set_up().

NO_SYS example:
http://www.nongnu.org/lwip/2_0_x/group__lwip__nosys.html


Ciao
Dirk

--
Dirk Ziegelmeier * [email protected] * http://www.ziegelmeier.net

On Wed, Mar 15, 2017 at 8:35 AM, <[email protected]> wrote:

> Hi Dirk
>
> Thank you for your answer.
>
> > http://www.nongnu.org/lwip/2_0_x/upgrading.html
>
> I don't really understand that point. Do I have to change my 
> InitEthernetAdapter
> function like that?
>
>
> // Start with dhcp
>
> if (_useDhcp)
>
> {
>
>   if (dhcp_start(&_netif) == ERR_OK)
>
>   {
>
>     netif_set_up(&_netif);
>
>   }
>
> }
>
> Thanks
>
> Markus
>
>
> *Gesendet:* Dienstag, 14. März 2017 um 15:45 Uhr
> *Von:* "Dirk Ziegelmeier" <[email protected]>
> *An:* "Mailing list for lwIP users" <[email protected]>
> *Betreff:* Re: [lwip-users] lwip 1.4.1 -> 2.0.1: problem with dhcp
> Maybe this is missing:
>
> http://www.nongnu.org/lwip/2_0_x/upgrading.html
>
>
>  * Changed netif "up" flag handling to be an administrative flag (as opposed 
> to the previous meaning of    "ip4-address-valid", a netif will now not be 
> used for transmission if not up) -> even a DHCP netif    has to be set "up" 
> before starting the DHCP client
>
>
> _______________________________________________ lwip-users mailing list
> [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
>
>
>
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to