diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-01-05 05:29:32 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-01-05 05:29:32 -0800 |
commit | 4426a1e749526a70c891d8bffe845be694481330 (patch) | |
tree | 5d6669686b26a5d4f90d5bee451425696850d738 /src/connection.c | |
parent | 70451fe10abf95ffa9dfac4fb90ff1726bd627b8 (diff) | |
download | connman-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.c | 2 |
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; |