From: Marcel Holtmann Date: Tue, 29 Jul 2008 21:34:45 +0000 (+0200) Subject: Define CONNMAN_ELEMENT_TYPE_INTERNET X-Git-Tag: 0.1~289 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7f97e6cfeb8e50356547663b23e1b8bd5097b70;p=platform%2Fupstream%2Fconnman.git Define CONNMAN_ELEMENT_TYPE_INTERNET --- diff --git a/include/element.h b/include/element.h index e000a58..4821661 100644 --- a/include/element.h +++ b/include/element.h @@ -50,7 +50,7 @@ enum connman_element_type { CONNMAN_ELEMENT_TYPE_ZEROCONF = 8, CONNMAN_ELEMENT_TYPE_RESOLVER = 9, - CONNMAN_ELEMENT_TYPE_CONNECTION = 42, + CONNMAN_ELEMENT_TYPE_INTERNET = 42, }; enum connman_element_subtype { diff --git a/src/element.c b/src/element.c index 1b49b80..4fd51a4 100644 --- a/src/element.c +++ b/src/element.c @@ -63,8 +63,8 @@ static const char *type2string(enum connman_element_type type) return "zeroconf"; case CONNMAN_ELEMENT_TYPE_RESOLVER: return "resolver"; - case CONNMAN_ELEMENT_TYPE_CONNECTION: - return "42"; + case CONNMAN_ELEMENT_TYPE_INTERNET: + return "internet"; } return NULL;