From: Marcel Holtmann Date: Wed, 31 Dec 2008 18:44:33 +0000 (+0100) Subject: Add element type for PPP X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~4251 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2908e9d91aef3832151feb7294babcb7110e93d6;p=profile%2Fivi%2Fconnman.git Add element type for PPP --- diff --git a/include/element.h b/include/element.h index 812ac30..92f642f 100644 --- a/include/element.h +++ b/include/element.h @@ -58,11 +58,12 @@ enum connman_element_type { CONNMAN_ELEMENT_TYPE_DEVICE = 3, CONNMAN_ELEMENT_TYPE_NETWORK = 4, CONNMAN_ELEMENT_TYPE_SERVICE = 5, - CONNMAN_ELEMENT_TYPE_IPV4 = 6, - CONNMAN_ELEMENT_TYPE_IPV6 = 7, - CONNMAN_ELEMENT_TYPE_DHCP = 8, - CONNMAN_ELEMENT_TYPE_BOOTP = 9, - CONNMAN_ELEMENT_TYPE_ZEROCONF = 10, + CONNMAN_ELEMENT_TYPE_PPP = 6, + CONNMAN_ELEMENT_TYPE_IPV4 = 7, + CONNMAN_ELEMENT_TYPE_IPV6 = 8, + CONNMAN_ELEMENT_TYPE_DHCP = 9, + CONNMAN_ELEMENT_TYPE_BOOTP = 10, + CONNMAN_ELEMENT_TYPE_ZEROCONF = 11, CONNMAN_ELEMENT_TYPE_CONNECTION = 42, }; diff --git a/src/element.c b/src/element.c index 0271107..a3bfa02 100644 --- a/src/element.c +++ b/src/element.c @@ -106,6 +106,8 @@ static const char *type2string(enum connman_element_type type) return "network"; case CONNMAN_ELEMENT_TYPE_SERVICE: return "service"; + case CONNMAN_ELEMENT_TYPE_PPP: + return "ppp"; case CONNMAN_ELEMENT_TYPE_IPV4: return "ipv4"; case CONNMAN_ELEMENT_TYPE_IPV6: