summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-05-31 17:43:48 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-05-31 17:50:43 +0200
commitadb0181a48698682b71b3999caa7632855bdf424 (patch)
tree2573076c4235730b73c699f79e2240c2e640a46d
parentf602eac2a06d5777417f4149ed15605a54ae08f7 (diff)
downloadconnman-adb0181a48698682b71b3999caa7632855bdf424.tar.gz
connman-adb0181a48698682b71b3999caa7632855bdf424.tar.bz2
connman-adb0181a48698682b71b3999caa7632855bdf424.zip
element: Remove IPv4
-rw-r--r--include/element.h13
-rw-r--r--src/device.c2
-rw-r--r--src/network.c2
3 files changed, 0 insertions, 17 deletions
diff --git a/include/element.h b/include/element.h
index 60591918..7f96de29 100644
--- a/include/element.h
+++ b/include/element.h
@@ -93,19 +93,6 @@ struct connman_element {
struct {
enum connman_ipconfig_method method;
gchar *address;
- gchar *peer;
- gchar *netmask;
- gchar *gateway;
- gchar *network;
- gchar *broadcast;
- gchar *nameserver;
- gchar *timeserver;
- gchar *pac;
- } ipv4;
-
- struct {
- enum connman_ipconfig_method method;
- gchar *address;
int prefix_len;
gchar *gateway;
gchar *network;
diff --git a/src/device.c b/src/device.c
index ed0eaf28..12e1460b 100644
--- a/src/device.c
+++ b/src/device.c
@@ -487,8 +487,6 @@ struct connman_device *connman_device_create(const char *node,
connman_element_set_string(&device->element,
CONNMAN_PROPERTY_ID_TYPE, str);
- device->element.ipv4.method = CONNMAN_IPCONFIG_METHOD_DHCP;
-
device->type = type;
device->name = g_strdup(type2description(device->type));
diff --git a/src/network.c b/src/network.c
index a29783f6..07ec1a39 100644
--- a/src/network.c
+++ b/src/network.c
@@ -561,8 +561,6 @@ void connman_network_set_ipv4_method(struct connman_network *network,
struct connman_service *service;
struct connman_ipconfig *ipconfig;
- network->element.ipv4.method = method;
-
service = __connman_service_lookup_from_network(network);
if (service == NULL)
return;