summaryrefslogtreecommitdiff
path: root/src/connection.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2011-08-18 10:07:51 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-08-18 12:24:13 +0200
commit0fc3a31aef878e229234aae35d01915c8cb27f4c (patch)
tree8204eccbc9d0e228847e91a79ff7d8f4fa6e03bc /src/connection.c
parent51343c077862de97729d6b7f0863b235c3581236 (diff)
downloadconnman-0fc3a31aef878e229234aae35d01915c8cb27f4c.tar.gz
connman-0fc3a31aef878e229234aae35d01915c8cb27f4c.tar.bz2
connman-0fc3a31aef878e229234aae35d01915c8cb27f4c.zip
connection: Fix IPv6 host route setting when using VPN
Diffstat (limited to 'src/connection.c')
-rw-r--r--src/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connection.c b/src/connection.c
index 59e04bf8..84e3ab47 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -282,7 +282,8 @@ static void set_default_gateway(struct gateway_data *data,
data->ipv6_gateway->vpn == TRUE) {
connman_inet_set_ipv6_gateway_address(data->index,
data->ipv6_gateway->vpn_ip);
- connman_inet_add_host_route(data->ipv6_gateway->vpn_phy_index,
+ connman_inet_add_ipv6_host_route(
+ data->ipv6_gateway->vpn_phy_index,
data->ipv6_gateway->vpn_ip,
data->ipv6_gateway->vpn_phy_ip);
data->ipv6_gateway->active = TRUE;