dhclient_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DDHCLIENT=\"@DHCLIENT@\" \
-DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\"
-ipv4_la_SOURCES = ipv4.c
+ipv4_la_SOURCES = ipv4.c inet.h inet.c
dnsproxy_la_SOURCES = dnsproxy.c
connection = connman_element_create(NULL);
- connection->type = CONNMAN_ELEMENT_TYPE_CONNECTION;
- connection->index = element->index;
+ connection->type = CONNMAN_ELEMENT_TYPE_CONNECTION;
+ connection->index = element->index;
+ connection->devname = inet_index2name(element->index);
if (connman_element_register(connection, element) < 0)
connman_element_unref(connection);