summaryrefslogtreecommitdiff
path: root/src/connection.c
diff options
context:
space:
mode:
authorMartin Xu <martin.xu@intel.com>2010-03-25 11:36:49 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2010-03-25 15:07:42 +0100
commit5b32a078419ce912b4d7083102fa78310c4a2f01 (patch)
treeb55a3b7307bbe7ffd44416a7346c5fbed8fd1b05 /src/connection.c
parent1c7e42c140557bb9e0e0c7573f8112aa4e833e9f (diff)
downloadconnman-5b32a078419ce912b4d7083102fa78310c4a2f01.tar.gz
connman-5b32a078419ce912b4d7083102fa78310c4a2f01.tar.bz2
connman-5b32a078419ce912b4d7083102fa78310c4a2f01.zip
Add static gateway support
Diffstat (limited to 'src/connection.c')
-rw-r--r--src/connection.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/connection.c b/src/connection.c
index a46c372d..6dfb6d92 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -249,8 +249,9 @@ static int connection_probe(struct connman_element *element)
if (element->parent == NULL)
return -ENODEV;
- if (element->parent->type != CONNMAN_ELEMENT_TYPE_IPV4)
- return -ENODEV;
+ /* FIXME: Remove temporarily for the static gateway support */
+ /* if (element->parent->type != CONNMAN_ELEMENT_TYPE_IPV4)
+ return -ENODEV; */
connman_element_get_value(element,
CONNMAN_PROPERTY_ID_IPV4_GATEWAY, &gateway);