diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2011-08-18 10:07:51 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-08-18 12:24:13 +0200 |
commit | 0fc3a31aef878e229234aae35d01915c8cb27f4c (patch) | |
tree | 8204eccbc9d0e228847e91a79ff7d8f4fa6e03bc | |
parent | 51343c077862de97729d6b7f0863b235c3581236 (diff) | |
download | connman-0fc3a31aef878e229234aae35d01915c8cb27f4c.tar.gz connman-0fc3a31aef878e229234aae35d01915c8cb27f4c.tar.bz2 connman-0fc3a31aef878e229234aae35d01915c8cb27f4c.zip |
connection: Fix IPv6 host route setting when using VPN
-rw-r--r-- | src/connection.c | 3 |
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; |