summaryrefslogtreecommitdiff
path: root/src/connection.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-01-05 05:35:55 -0800
committerMarcel Holtmann <marcel@holtmann.org>2010-01-05 05:35:55 -0800
commitd31f3c8e6b025820697669ac60637a1e942a3f33 (patch)
tree91005e341387ce3f63bd43d5eabbc7f220665716 /src/connection.c
parent4426a1e749526a70c891d8bffe845be694481330 (diff)
downloadconnman-d31f3c8e6b025820697669ac60637a1e942a3f33.tar.gz
connman-d31f3c8e6b025820697669ac60637a1e942a3f33.tar.bz2
connman-d31f3c8e6b025820697669ac60637a1e942a3f33.zip
Add helper for removing host routes
Diffstat (limited to 'src/connection.c')
-rw-r--r--src/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.c b/src/connection.c
index 51eed8f5..f7d43681 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -352,7 +352,7 @@ static void set_default_gateway(struct gateway_data *data)
goto done;
}
- connman_inet_set_host_route(element->index, data->gateway);
+ connman_inet_add_host_route(element->index, data->gateway);
if (connman_inet_set_gateway_address(element->index, data->gateway) < 0)
return;