Add string conversion for network device subtype
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 16 Sep 2008 13:01:19 +0000 (15:01 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 16 Sep 2008 13:01:19 +0000 (15:01 +0200)
src/element.c

index a9012b2d18c7f830a91053c69ee13ba5ab9c2dd3..3f697ea9a77f4a9d58dd17c41a64e3d228cbb6a0 100644 (file)
@@ -122,6 +122,8 @@ static const char *subtype2string(enum connman_element_subtype type)
        switch (type) {
        case CONNMAN_ELEMENT_SUBTYPE_UNKNOWN:
                return "unknown";
+       case CONNMAN_ELEMENT_SUBTYPE_NETWORK:
+               return "network";
        case CONNMAN_ELEMENT_SUBTYPE_ETHERNET:
                return "ethernet";
        case CONNMAN_ELEMENT_SUBTYPE_WIFI: