Hi Jukka

On 07/26/2011 01:29 PM, Jukka Rissanen wrote:
> ---
>  src/connman.h |    3 +++
>  src/service.c |   36 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 39 insertions(+), 0 deletions(-)
> 
> diff --git a/src/connman.h b/src/connman.h
> index 408b809..e687502 100644
> --- a/src/connman.h
> +++ b/src/connman.h
> @@ -552,6 +552,9 @@ void __connman_service_notify(struct connman_service 
> *service,
>  
>  int __connman_service_counter_register(const char *counter);
>  void __connman_service_counter_unregister(const char *counter);
> +void __connman_service_set_dhcp_address(struct connman_service *service,
> +                                     const char *address);
> +char *__connman_service_get_dhcp_address(struct connman_service *service);

This looks like the wrong place to me storing the last IP address.
Wouldn't it make more sense to add this kind of thing to ipconfig? We
might even want to do this for IPv6, no?

cheers,
daniel
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to