platform/upstream/connman.git
13 years agodoc: Update description of Phase2-keyword
Henri Bragge [Mon, 10 Jan 2011 11:41:42 +0000 (13:41 +0200)]
doc: Update description of Phase2-keyword

13 years agogsupplicant: Support EAP phase2 authentication methods
Henri Bragge [Mon, 10 Jan 2011 11:41:41 +0000 (13:41 +0200)]
gsupplicant: Support EAP phase2 authentication methods

13 years agosupplicant: Support EAP phase2 authentication methods
Henri Bragge [Mon, 10 Jan 2011 11:41:40 +0000 (13:41 +0200)]
supplicant: Support EAP phase2 authentication methods

13 years agoservice: Do not unref ipconf layer upon disconnection
Samuel Ortiz [Mon, 10 Jan 2011 15:20:20 +0000 (16:20 +0100)]
service: Do not unref ipconf layer upon disconnection

The ipconfig layer is referenced at service creation time and should
thus be unreferenced when freeing said service.

13 years agowifi: Stack based crash risk fixed
Tomasz Bursztyka [Mon, 10 Jan 2011 10:16:23 +0000 (12:16 +0200)]
wifi: Stack based crash risk fixed

13 years agodoc: Fix possible values for IPv6 Method in service API
Jukka Rissanen [Fri, 7 Jan 2011 12:55:19 +0000 (14:55 +0200)]
doc: Fix possible values for IPv6 Method in service API

13 years agoservice: Do not disconnect IPv4 if IPv6 method changes
Jukka Rissanen [Sat, 8 Jan 2011 00:32:44 +0000 (01:32 +0100)]
service: Do not disconnect IPv4 if IPv6 method changes

13 years agoipconfig: Removed obsolete code
Jukka Rissanen [Fri, 7 Jan 2011 12:55:15 +0000 (14:55 +0200)]
ipconfig: Removed obsolete code

13 years agoipconfig: Removed obsolete parameter from __connman_ipconfig_set_config()
Jukka Rissanen [Fri, 7 Jan 2011 12:55:14 +0000 (14:55 +0200)]
ipconfig: Removed obsolete parameter from __connman_ipconfig_set_config()

13 years agoservice: Do not set the ipv6 method to OFF
Jukka Rissanen [Fri, 7 Jan 2011 12:55:12 +0000 (14:55 +0200)]
service: Do not set the ipv6 method to OFF

13 years agoipconfig: Default method is auto for IPv6
Jukka Rissanen [Fri, 7 Jan 2011 12:55:10 +0000 (14:55 +0200)]
ipconfig: Default method is auto for IPv6

13 years agoipconfig: Add AUTO ipconfig method for IPv6 auto configured addresses
Jukka Rissanen [Fri, 7 Jan 2011 12:55:09 +0000 (14:55 +0200)]
ipconfig: Add AUTO ipconfig method for IPv6 auto configured addresses

13 years agoipconfig: Remove unnecessary null checks
Jukka Rissanen [Fri, 7 Jan 2011 12:55:08 +0000 (14:55 +0200)]
ipconfig: Remove unnecessary null checks

13 years agogsupplicant: Use the prefixed version of phase2_auth value
Henri Bragge [Fri, 7 Jan 2011 14:10:18 +0000 (16:10 +0200)]
gsupplicant: Use the prefixed version of phase2_auth value

13 years agogsupplicant: Drop unnecessary quotes from phase2 value
Henri Bragge [Fri, 7 Jan 2011 14:10:17 +0000 (16:10 +0200)]
gsupplicant: Drop unnecessary quotes from phase2 value

13 years agosupplicant: Drop unnecessary quotes from phase2 value
Henri Bragge [Fri, 7 Jan 2011 14:10:16 +0000 (16:10 +0200)]
supplicant: Drop unnecessary quotes from phase2 value

13 years agoFix missing and empty WiFi APs issue after kill/restart
Leena Gunda [Fri, 7 Jan 2011 06:02:50 +0000 (11:32 +0530)]
Fix missing and empty WiFi APs issue after kill/restart

When ConnMan is SIGKILLed and restarted WiFi plugin will reuse the
existing interface and the BSSs list. For BSSs list the next iterator
contains the object path of next BSS but interface_bss_added() wrongly
assumes that the next iterator contains the key/value pairs for the BSS
properties and a GSupplicantNetwork is created with empty fields
resulting in and empty AP list.

Also the iterator is moved to next by both interface_bss_added() and
supplicant_dbus_array_foreach() resulting in not adding alternate
BSSs from the list.

Fix gsupplicant interface_bss_added() to distinguish between BSS's added
with/without the BSS properties.

Fixes BMC#10454 and #11201

13 years agoFix memory leaks in gsupplicant interface_property
Leena Gunda [Thu, 6 Jan 2011 06:27:33 +0000 (11:57 +0530)]
Fix memory leaks in gsupplicant interface_property

Free the interface properties before doing a g_strdup.

Fixes BMC#11687

13 years agoFix Valgrind invalid write error for WiFi plugin
Leena Gunda [Thu, 6 Jan 2011 05:49:51 +0000 (11:19 +0530)]
Fix Valgrind invalid write error for WiFi plugin

g_supplicant_unregister first destroys the interface table and then
invokes system_killed callback which will trigger wifi device driver
removal. wifi_remove will now set it's interface data to NULL but the
GSupplicantInterface has already been freed and hence the issue.

Invoking the system_killed callback before destroying the interface
table in gsupplicant will fix this issue.

Fixes BMC#11684

13 years agoAdd inotify monitoring .config file.
Mohamed Abbas [Wed, 5 Jan 2011 21:52:30 +0000 (13:52 -0800)]
Add inotify monitoring .config file.

Reflect new and modify *.config to connman config list. with
patch any modified or added .config file will be read by connman
and add these configuration for new provisioning.

13 years agomemoryleak: IPv6 gateway was not freed
Jukka Rissanen [Wed, 5 Jan 2011 13:14:13 +0000 (15:14 +0200)]
memoryleak: IPv6 gateway was not freed

13 years agomemoryleak: ipconfig was not unreferenced properly
Jukka Rissanen [Wed, 5 Jan 2011 13:14:12 +0000 (15:14 +0200)]
memoryleak: ipconfig was not unreferenced properly

The service creates ipconfig and then enables it which means that
ref count goes to 2. At some point it then disables ipconfig but
does not do unref which means there is a memory leak as ref count
never goes to 0.

13 years agoipconfig: add debugging to ref counting functions
Jukka Rissanen [Wed, 5 Jan 2011 13:14:11 +0000 (15:14 +0200)]
ipconfig: add debugging to ref counting functions

13 years agoAdd missing binaries to ignore list
Marcel Holtmann [Tue, 4 Jan 2011 00:25:37 +0000 (16:25 -0800)]
Add missing binaries to ignore list

13 years agoMake calls to __connman_ipconfig_disable() consistent.
Jukka Rissanen [Mon, 3 Jan 2011 09:55:23 +0000 (11:55 +0200)]
Make calls to __connman_ipconfig_disable() consistent.

13 years agomemoryleak: check return value correctly before clearing pointer
Jukka Rissanen [Mon, 3 Jan 2011 09:55:22 +0000 (11:55 +0200)]
memoryleak: check return value correctly before clearing pointer

13 years agogweb: Skip hostname resolving when proxy is used
Marcel Holtmann [Sun, 2 Jan 2011 06:38:07 +0000 (22:38 -0800)]
gweb: Skip hostname resolving when proxy is used

13 years agogweb: Add support for handling proxy information
Marcel Holtmann [Sun, 2 Jan 2011 06:32:07 +0000 (22:32 -0800)]
gweb: Add support for handling proxy information

13 years agogweb: Add extra debug for proxy setup
Marcel Holtmann [Sun, 2 Jan 2011 05:51:32 +0000 (21:51 -0800)]
gweb: Add extra debug for proxy setup

13 years agotools: Add proxy option to web testing utility
Marcel Holtmann [Sun, 2 Jan 2011 05:41:28 +0000 (21:41 -0800)]
tools: Add proxy option to web testing utility

13 years agogdbus: Update copyright information
Marcel Holtmann [Sun, 2 Jan 2011 01:31:09 +0000 (17:31 -0800)]
gdbus: Update copyright information

13 years agoFree the IO channel if connection to the DNS server fails
Leena Gunda [Fri, 31 Dec 2010 11:20:52 +0000 (16:50 +0530)]
Free the IO channel if connection to the DNS server fails

Fixes BMC#11878

13 years agomemoryleak: root element was not freed
Jukka Rissanen [Fri, 31 Dec 2010 09:57:16 +0000 (11:57 +0200)]
memoryleak: root element was not freed

13 years agomemoryleak: remove element when not needed any more
Jukka Rissanen [Fri, 31 Dec 2010 09:57:15 +0000 (11:57 +0200)]
memoryleak: remove element when not needed any more

13 years agomemoryleak: remove the element when not needed
Jukka Rissanen [Fri, 31 Dec 2010 09:57:14 +0000 (11:57 +0200)]
memoryleak: remove the element when not needed

13 years agomemoryleak: dhcp_client is already referenced when created
Jukka Rissanen [Fri, 31 Dec 2010 09:57:13 +0000 (11:57 +0200)]
memoryleak: dhcp_client is already referenced when created

13 years agomemoryleak: remove the element for real
Jukka Rissanen [Fri, 31 Dec 2010 09:57:12 +0000 (11:57 +0200)]
memoryleak: remove the element for real

13 years agoPossible memory leak when setting up ipconfig
Jukka Rissanen [Fri, 31 Dec 2010 09:57:11 +0000 (11:57 +0200)]
Possible memory leak when setting up ipconfig

13 years agoPossible memory leak when creating ipconfig
Jukka Rissanen [Fri, 31 Dec 2010 09:57:10 +0000 (11:57 +0200)]
Possible memory leak when creating ipconfig

13 years agomemoryleak: proxy method string was not freed
Jukka Rissanen [Fri, 31 Dec 2010 09:57:08 +0000 (11:57 +0200)]
memoryleak: proxy method string was not freed

13 years agomemoryleak: method was not freed
Jukka Rissanen [Fri, 31 Dec 2010 09:57:07 +0000 (11:57 +0200)]
memoryleak: method was not freed

13 years agomemoryleak: block was not freed
Jukka Rissanen [Fri, 31 Dec 2010 09:57:06 +0000 (11:57 +0200)]
memoryleak: block was not freed

13 years agomemoryleak: address was not freed
Jukka Rissanen [Fri, 31 Dec 2010 09:57:05 +0000 (11:57 +0200)]
memoryleak: address was not freed

13 years agomemoryleak: device name was not freed
Jukka Rissanen [Fri, 31 Dec 2010 09:57:04 +0000 (11:57 +0200)]
memoryleak: device name was not freed

13 years agomemoryleak: SSID was not freed
Jukka Rissanen [Fri, 31 Dec 2010 09:57:03 +0000 (11:57 +0200)]
memoryleak: SSID was not freed

13 years agomemoryleak: network interface string was not freed
Jukka Rissanen [Fri, 31 Dec 2010 09:57:02 +0000 (11:57 +0200)]
memoryleak: network interface string was not freed

13 years agoHandling multiple message-header fields with the same name.
Mohamed Abbas [Tue, 28 Dec 2010 22:35:46 +0000 (14:35 -0800)]
Handling multiple message-header fields with the same name.

Append all multiple message-header fields with the same name and
remove any white space in front of fiels value.

13 years agoFix memory leaks in iptables library
Leena Gunda [Thu, 30 Dec 2010 06:43:41 +0000 (12:13 +0530)]
Fix memory leaks in iptables library

Fixes BMC#11830

13 years agoFree WiFi network strings in network_destruct
Leena Gunda [Wed, 29 Dec 2010 10:39:25 +0000 (16:09 +0530)]
Free WiFi network strings in network_destruct

Fixes BMC#11815

13 years agoBuilding fix about implicit declaration of strnlen
Yang Ruirui [Wed, 29 Dec 2010 07:12:15 +0000 (23:12 -0800)]
Building fix about implicit declaration of strnlen

I got build failing as below:
cc1: warnings being treated as errors
gdhcp/client.c: In function ‘alloc_dhcp_option’:
gdhcp/client.c:1455: error: implicit declaration of function ‘strnlen’

define _GNU_SOURCE fixes this problem.

13 years agofix glib dependency
Yang Ruirui [Wed, 29 Dec 2010 07:12:00 +0000 (23:12 -0800)]
fix glib dependency

src/stats.c and src/tools/stats-tool.c use glib function g_mkstemp_full
g_mkstemp_full comes since GLib 2.21.6, see following changelog:
http://linuxtesting.org/upstream-tracker/changelogs/glib/2.21.6/changelog.html

So here fix the dependency of glib in configure.ac to >=2.22

13 years agoFix Valgrind Invalid Read error while removing gsupplicant interface
Leena Gunda [Wed, 29 Dec 2010 05:55:14 +0000 (11:25 +0530)]
Fix Valgrind Invalid Read error while removing gsupplicant interface

13 years agoFree gsupplicant network path when removing network
Leena Gunda [Wed, 29 Dec 2010 05:31:08 +0000 (11:01 +0530)]
Free gsupplicant network path when removing network

13 years agogsupplicant network_path not freed while removing interface
Leena Gunda [Mon, 27 Dec 2010 08:44:36 +0000 (14:14 +0530)]
gsupplicant network_path not freed while removing interface

Below is patch for:
http://bugs.meego.com/show_bug.cgi?id=11763

Free the network path of the connected WiFi when removing the interface.

13 years agoportal: Check status and print client IP and country details
Marcel Holtmann [Tue, 28 Dec 2010 17:39:20 +0000 (09:39 -0800)]
portal: Check status and print client IP and country details

13 years agoAdd g_web_result_get_header support.
Mohamed Abbas [Mon, 27 Dec 2010 22:17:40 +0000 (14:17 -0800)]
Add g_web_result_get_header support.

Add all http response header to hash table and allow
user to get these header values.

Header with same key will be replaced by last header value.

13 years agoFix Leena's email address
Marcel Holtmann [Sun, 26 Dec 2010 19:46:02 +0000 (11:46 -0800)]
Fix Leena's email address

13 years agoRelease 0.65 0.65
Marcel Holtmann [Sat, 25 Dec 2010 01:48:25 +0000 (17:48 -0800)]
Release 0.65

13 years agowifi: Check for passphrase being not NULL before calling strlen
Mohamed Abbas [Thu, 23 Dec 2010 21:28:47 +0000 (13:28 -0800)]
wifi: Check for passphrase being not NULL before calling strlen

It seems strlen(passphrase) was crashing on NULL passphrase.

13 years agowifi: Remove network on BSSRemoved signal reception
Leena Gunda [Thu, 23 Dec 2010 18:07:55 +0000 (19:07 +0100)]
wifi: Remove network on BSSRemoved signal reception

Fixes BMC#11561

13 years agortnl: Call technology_add_interface() only once
Marcel Holtmann [Thu, 23 Dec 2010 17:39:20 +0000 (18:39 +0100)]
rtnl: Call technology_add_interface() only once

13 years agonetwork: Remove unused network_set_passphrase routine
Samuel Ortiz [Thu, 23 Dec 2010 15:36:46 +0000 (16:36 +0100)]
network: Remove unused network_set_passphrase routine

13 years agowifi: Track wpa supplicant state
Samuel Ortiz [Thu, 23 Dec 2010 15:26:41 +0000 (16:26 +0100)]
wifi: Track wpa supplicant state

If wpa supplicant switch from SCANNING to DISCONNECTED, setting the
network values to FALSE could potentially kill an association in progress.

13 years agowifi: Zero length passphrase set to NULL
Samuel Ortiz [Thu, 23 Dec 2010 15:05:37 +0000 (16:05 +0100)]
wifi: Zero length passphrase set to NULL

Some UI give a non NULL but zero length passphrase string and wpa
supplicant doesn't handle that.

13 years agoservice: Don't clear ipconfig layers if network disconnection failed
Samuel Ortiz [Thu, 23 Dec 2010 12:05:32 +0000 (13:05 +0100)]
service: Don't clear ipconfig layers if network disconnection failed

13 years agogsupplicant: Remove network even if disconnect failed
Samuel Ortiz [Thu, 23 Dec 2010 11:57:16 +0000 (12:57 +0100)]
gsupplicant: Remove network even if disconnect failed

If a connection is in progress but is cancelled before wpa supplicant
reached the ASSOCIATING phase, removing the network is the only way to
prevent it from continuing the association.

13 years agodevice: Do not use the disconnected flag for auto connection
Mohamed Abbas [Thu, 23 Dec 2010 09:26:39 +0000 (10:26 +0100)]
device: Do not use the disconnected flag for auto connection

The whole auto connection process is now handled from
service_auto_connect().

13 years agoservice: Return connecting status while idle
Mohamed Abbas [Thu, 23 Dec 2010 09:24:25 +0000 (10:24 +0100)]
service: Return connecting status while idle

The auto connection decision is then all let to service_auto_connect() as
it can now handle the connecting while idle decision.

13 years agoservice: Avoid autoconnect from scan
Mohamed Abbas [Wed, 22 Dec 2010 19:58:02 +0000 (11:58 -0800)]
service: Avoid autoconnect from scan

If we are scanning then don't try to run autoconnect while
we are adding network from scan, at the end of scan auto
connect will be called.

13 years agowifi: Dont start new connection until disassociation completes
Mohamed Abbas [Mon, 20 Dec 2010 19:07:33 +0000 (11:07 -0800)]
wifi: Dont start new connection until disassociation completes

Make sure disconnect is completed before start new connection
otherwise we will disconnect the new network when we receive
DISCONNECT signal from supplicant.

13 years agowifi: Remove misleading error string
Samuel Ortiz [Wed, 22 Dec 2010 19:45:18 +0000 (20:45 +0100)]
wifi: Remove misleading error string

Since wpa supplicant sends the interface addition signal before calling
the interface creation callback, interface_added could perfectly be called
with the wifi pointer not set yet.

13 years agogsupplicant: Remove get_results warning
Samuel Ortiz [Wed, 22 Dec 2010 17:44:56 +0000 (18:44 +0100)]
gsupplicant: Remove get_results warning

This is normal operation, the interface is created at from get_results()
if it doesn't exist yet.

Fixes BMC#11066

13 years agowifi: Use CONNMAN_SUPPLICANT_DEBUG for debugging
Samuel Ortiz [Wed, 22 Dec 2010 16:09:24 +0000 (17:09 +0100)]
wifi: Use CONNMAN_SUPPLICANT_DEBUG for debugging

Instead of CONNMAN_GSUPPLICANT_DEBUG, for consistency sake.

13 years agowifi: Set wifi plugin priority to DEFAULT
Samuel Ortiz [Wed, 22 Dec 2010 16:08:35 +0000 (17:08 +0100)]
wifi: Set wifi plugin priority to DEFAULT

And the legacy one to LOW.

13 years agoipconfig: Check for ipconfig pointer before getting ops_data
Samuel Ortiz [Wed, 22 Dec 2010 15:37:16 +0000 (16:37 +0100)]
ipconfig: Check for ipconfig pointer before getting ops_data

13 years agoipconfig: Remove the right ipconfig pointer from the ipconfig list
Mohamed Abbas [Wed, 22 Dec 2010 15:35:48 +0000 (16:35 +0100)]
ipconfig: Remove the right ipconfig pointer from the ipconfig list

13 years agowifi: Switch to being the default wifi plugin
Samuel Ortiz [Wed, 22 Dec 2010 14:53:18 +0000 (15:53 +0100)]
wifi: Switch to being the default wifi plugin

The gsupplicant based plugin is now the default wifi plugin.

13 years agowifi: Make gsupplicant debug depend on CONNMAN_GSUPPLICANT_DEBUG
Samuel Ortiz [Wed, 22 Dec 2010 14:52:06 +0000 (15:52 +0100)]
wifi: Make gsupplicant debug depend on CONNMAN_GSUPPLICANT_DEBUG

13 years agortnl: Register all RDNSS search domains
Samuel Ortiz [Tue, 21 Dec 2010 15:57:14 +0000 (16:57 +0100)]
rtnl: Register all RDNSS search domains

13 years agortnl: Add support for RFC6106 DNSSL
David Woodhouse [Fri, 17 Dec 2010 22:31:53 +0000 (22:31 +0000)]
rtnl: Add support for RFC6106 DNSSL

13 years agortnl: Refactor RDNSS support so we can support DNSSL
David Woodhouse [Fri, 17 Dec 2010 22:31:30 +0000 (22:31 +0000)]
rtnl: Refactor RDNSS support so we can support DNSSL

Rather than registering the new nameserver as we hit the RDNSS option,
gather all the information first and then register the nameservers
after the loop.
That way, we can gather the search domains while we're looping, and
provide them when we register the nameservers.

13 years agoconnection: Add gateway host routes for non NULL gateways
Samuel Ortiz [Tue, 21 Dec 2010 11:50:31 +0000 (12:50 +0100)]
connection: Add gateway host routes for non NULL gateways

13 years agodhcp: Add IPv4LL support
Julien Massot [Mon, 20 Dec 2010 16:24:02 +0000 (16:24 +0000)]
dhcp: Add IPv4LL support

13 years agogdhcp: Add netmask getter
Julien Massot [Mon, 20 Dec 2010 16:24:01 +0000 (16:24 +0000)]
gdhcp: Add netmask getter

13 years agoopenvpn: Identation fixes
Samuel Ortiz [Tue, 21 Dec 2010 00:41:22 +0000 (01:41 +0100)]
openvpn: Identation fixes

13 years agoopenvpn: Move foreign_option_ parse code into its own function
Daniel Wagner [Mon, 20 Dec 2010 12:21:11 +0000 (13:21 +0100)]
openvpn: Move foreign_option_ parse code into its own function

Do not clutter the ov_notify loop with parsing code.

13 years agoopenvpn: Use ifconfig_remote as peer address
Daniel Wagner [Fri, 17 Dec 2010 14:52:04 +0000 (15:52 +0100)]
openvpn: Use ifconfig_remote as peer address

route_vpn_gateway is not in all configuration setup
the peer address.

13 years agoopenvpn: Append routes
Daniel Wagner [Fri, 17 Dec 2010 14:52:03 +0000 (15:52 +0100)]
openvpn: Append routes

13 years agoopenvpn: Add pushed routes
Daniel Wagner [Fri, 17 Dec 2010 14:52:02 +0000 (15:52 +0100)]
openvpn: Add pushed routes

We should add the routing entries pushed by the OpenVPN server.

13 years agoopenvpn: Pass in additional arguments
Daniel Wagner [Fri, 17 Dec 2010 14:52:01 +0000 (15:52 +0100)]
openvpn: Pass in additional arguments

Pass into the OpenVPN plugin:
     - protocol
     - port
     - auth_user_pass
     - tls-remote
     - cipher
     - auth
     - comp-lzo

13 years agoinet: Add connman_inet_[add|del]_network_route()
Daniel Wagner [Fri, 17 Dec 2010 14:52:00 +0000 (15:52 +0100)]
inet: Add connman_inet_[add|del]_network_route()

connman_inet_[add|del]_host_route() are now wrappers
around connman_inet_[add|del]_network_route()

13 years agoipconfig: Set method to OFF when the stored method is unknown
Samuel Ortiz [Fri, 17 Dec 2010 18:51:35 +0000 (19:51 +0100)]
ipconfig: Set method to OFF when the stored method is unknown

13 years agoservice: Set ipconfig structure to NULL if ipconfig_disable fails
Samuel Ortiz [Fri, 17 Dec 2010 17:38:24 +0000 (18:38 +0100)]
service: Set ipconfig structure to NULL if ipconfig_disable fails

13 years agoipconfig: Remove unused ipconfig_clone routine
Samuel Ortiz [Fri, 17 Dec 2010 17:08:45 +0000 (18:08 +0100)]
ipconfig: Remove unused ipconfig_clone routine

13 years agoopenconnect: Remove unused code
Daniel Wagner [Fri, 17 Dec 2010 12:02:20 +0000 (13:02 +0100)]
openconnect: Remove unused code

13 years agodnsproxy: Listen on IN6ADDR_ANY not Legacy INADDR_ANY
David Woodhouse [Thu, 16 Dec 2010 12:57:16 +0000 (12:57 +0000)]
dnsproxy: Listen on IN6ADDR_ANY not Legacy INADDR_ANY

We set the IPV6_V6ONLY sockopt so that Legacy IP connections also work.
Fall back to listening on INADDR_ANY if IPv6 family support isn't present.

13 years agodnsproxy: Fix {udp,tcp}_listener_event() to cope with requests over IPv6
David Woodhouse [Thu, 16 Dec 2010 12:56:59 +0000 (12:56 +0000)]
dnsproxy: Fix {udp,tcp}_listener_event() to cope with requests over IPv6

13 years agodnsproxy: Rename 'len' field in request_data
David Woodhouse [Thu, 16 Dec 2010 12:56:02 +0000 (12:56 +0000)]
dnsproxy: Rename 'len' field in request_data

Let's make it clear it's a sockaddr len.

13 years agoipconfig: Fix IPv6 config reference count initialization
Samuel Ortiz [Fri, 17 Dec 2010 14:21:27 +0000 (15:21 +0100)]
ipconfig: Fix IPv6 config reference count initialization

It should be set to 1 when created.

13 years agoofono: Delay ipconfig structure cleanup
Samuel Ortiz [Fri, 17 Dec 2010 11:14:30 +0000 (12:14 +0100)]
ofono: Delay ipconfig structure cleanup

Cleaning the structure before calling connman_network_set_connected(FALSE)
prevents the gateways from being properly freed.