[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] DHCP status with lwIP version 2
From: |
R. Diez |
Subject: |
[lwip-users] DHCP status with lwIP version 2 |
Date: |
Wed, 7 Jun 2017 10:06:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
Hi all:
I am upgrading to lwIP version 2 and I saw the following in the change log:
netif.h, dhcp.c: Removed unused netif flag for DHCP. The preferred way
to evaluate if DHCP is active is through netif->dhcp field.
However, I could not find any "dhcp" field anywhere.
This code I have been using with lwIP 1.4.1 does not compile anymore:
assert( s_myEthPhyInterface.dhcp->state == DHCP_BOUND );
How do I get to the DHCP state now?
Please copy me on the answer, as I am not subscribed to this mailing list.
Thanks in advance for your help,
rdiez
- [lwip-users] DHCP status with lwIP version 2,
R. Diez <=