summaryrefslogtreecommitdiff
path: root/src/connection.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-01-05 05:29:32 -0800
committerMarcel Holtmann <marcel@holtmann.org>2010-01-05 05:29:32 -0800
commit4426a1e749526a70c891d8bffe845be694481330 (patch)
tree5d6669686b26a5d4f90d5bee451425696850d738 /src/connection.c
parent70451fe10abf95ffa9dfac4fb90ff1726bd627b8 (diff)
downloadconnman-4426a1e749526a70c891d8bffe845be694481330.tar.gz
connman-4426a1e749526a70c891d8bffe845be694481330.tar.bz2
connman-4426a1e749526a70c891d8bffe845be694481330.zip
Split gateway and host route setting in two separate functions
Diffstat (limited to 'src/connection.c')
-rw-r--r--src/connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/connection.c b/src/connection.c
index 902bef41..51eed8f5 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -352,6 +352,8 @@ static void set_default_gateway(struct gateway_data *data)
goto done;
}
+ connman_inet_set_host_route(element->index, data->gateway);
+
if (connman_inet_set_gateway_address(element->index, data->gateway) < 0)
return;