From: taesub kim Date: Wed, 25 Apr 2018 00:16:48 +0000 (+0900) Subject: Enable the feature check logic X-Git-Tag: submit/tizen/20180425.002759^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7dd563ce79446c8bdfe0e792326684243536c2b9;p=platform%2Fcore%2Fapi%2Fsmart-traffic-control.git Enable the feature check logic Change-Id: Id872e2b3b5eee2ec67507272f9d57447e1ad9524 Signed-off-by: Taesub Kim --- diff --git a/src/include/stc-firewall.h b/src/include/stc-firewall.h index 60c1b63..4b50c83 100755 --- a/src/include/stc-firewall.h +++ b/src/include/stc-firewall.h @@ -49,7 +49,7 @@ extern "C" { * Macros and Typedefs *****************************************************************************/ -#define TIZEN_FEATURE_STC_FW "tizen.org/feature/network.firewall" +#define TIZEN_FEATURE_STC_FW "http://tizen.org/feature/network.firewall" #define STC_MANAGER_FW_PATH "/net/stc/firewall" #define STC_MANAGER_FW_INTERFACE STC_MANAGER_SERVICE ".firewall" diff --git a/src/internal/include/stc-util.h b/src/internal/include/stc-util.h index f66f913..5c99897 100755 --- a/src/internal/include/stc-util.h +++ b/src/internal/include/stc-util.h @@ -64,9 +64,8 @@ } \ } while (0) -#define TIZEN_FEATURE_STC "tizen.org/feature/network.traffic_control" +#define TIZEN_FEATURE_STC "http://tizen.org/feature/network.traffic_control" -#if 0 #define CHECK_FEATURE_SUPPORTED(feature_name)\ do {\ bool feature_supported = FALSE;\ @@ -81,10 +80,6 @@ } \ } while (0) -#else -#define CHECK_FEATURE_SUPPORTED(feature_name) -#endif - /***************************************************************************** * Global Variables