Add string conversion for fake subtype
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 15 Oct 2008 19:34:40 +0000 (21:34 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 15 Oct 2008 19:34:40 +0000 (21:34 +0200)
src/element.c

index d3b2cc5..c045c69 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_FAKE:
+               return "fake";
        case CONNMAN_ELEMENT_SUBTYPE_NETWORK:
                return "network";
        case CONNMAN_ELEMENT_SUBTYPE_ETHERNET: