Add default name for Internet elements
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Jul 2008 18:33:08 +0000 (20:33 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Jul 2008 18:33:08 +0000 (20:33 +0200)
src/element.c

index 3a4d40f..e24b1e0 100644 (file)
@@ -556,6 +556,9 @@ int connman_element_register(struct connman_element *element,
                case CONNMAN_ELEMENT_TYPE_RESOLVER:
                        element->name = g_strdup("resolver");
                        break;
+               case CONNMAN_ELEMENT_TYPE_INTERNET:
+                       element->name = g_strdup("internet");
+                       break;
                default:
                        break;
                }