Re: Connman VPN: Do not replace default route

2013-02-04 Thread Jukka Rissanen
Hi, On 03.02.2013 19:11, Yevhen Kyriukha wrote: 2013/2/3 Jukka Rissanen jukka.rissa...@gmail.com: Hi, On 2 February 2013 15:02, Yevhen Kyriukha kirg...@gmail.com wrote: My VPN server already push information about routes like: server 10.10.10.0 255.255.255.0 and push route 10.10.10.0

[PATCH] test: Fix simple-agent so it can run even if service files are missing

2013-02-04 Thread Tomasz Bursztyka
Fixes BMC#25964 --- test/simple-agent | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/test/simple-agent b/test/simple-agent index 2487b7b..01c82ba 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -276,7 +276,7 @@ def

[PATCH v3 4/4] ipconfig: User proper address structure when appending IPv4 info

2013-02-04 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@linux.intel.com --- src/ipconfig.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 9535e9f..27c86b3 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -1742,10 +1742,10 @@ void

[PATCH v3 0/4] Fix invalid IP addresses

2013-02-04 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@linux.intel.com Hi, This patch set fixes the code to first validate the IP addresses given via D-Bus before attempting to use them. v3 refactors the code and updates patch 03 so that the new ipconfig is properly enabled. v3 adds also a new patch 04 that

[PATCH v3 3/4] service: Validate the IP addresses before use

2013-02-04 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@linux.intel.com When setting IP address information via D-Bus, first create a new ipconfig structure to hold the values. If the values were validated correctly, update the service ipconfig structure with the new values. In order to achieve this, refactor the

[PATCH v3 2/4] service: Factor out ipconfig creation

2013-02-04 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@linux.intel.com The caller has to set the created ipconfig into its data structures. --- src/service.c | 58 + 1 file changed, 38 insertions(+), 20 deletions(-) diff --git a/src/service.c b/src/service.c

[PATCH v3 1/4] ipconfig: Add checks for invalid IPv4/IPv6 addresses

2013-02-04 Thread patrik . flykt
From: Patrik Flykt patrik.fl...@linux.intel.com Also fine tune returned errors. --- src/ipconfig.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 9ca3316..9535e9f 100644 --- a/src/ipconfig.c +++