When I try: netif->ip_addr.addr I get the following error:
error: invalid type argument of `->'
I've declared netif like this: struct netif netif;
I'm a bit of a novice when it comes to pointers, whenever I think I
understand
them, they stop working!
I'm also not sure how to check the dhcp state...
Thanks,
Aidan
On Tue Aug 2 16:53 , Jim Gibbons <address@hidden> sent:
>
>
>
>
>
>
>I'm getting it from netif->ip_addr.addr. It's important to wait
>until DHCP reaches the BOUND state.
>
>
>
>Lists wrote:
>
> This is probably a really basic request, but can anybody please tell me
what
>variable the dhcp assigned IP address is stored in and how to display it?
I've
>tried netif.ip_addr, but with no luck. It's just one of those things that
should
>be really easy, but is really bogging me down.
>
>Thanks, Aidan
>
>
>_______________________________________________
>lwip-users mailing list
>address@hidden
>http://lists.nongnu.org/mailman/listinfo/lwip-users
>
>
>
>
>--
>
>E-mail signature
>
>
>
>
> Jim Gibbons
>
>
> address@hidden
>
>
>
>
> Gibbons and Associates, Inc.
>
>
> TEL: (408) 984-1441
>
>
>
>
> 900 Lafayette, Suite 704, Santa Clara, CA
>
>
> FAX: (408) 247-6395
>
>
>
>
>
>
>
>
>
>
>
>
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users