From: hyunuktak Date: Tue, 24 May 2016 11:25:38 +0000 (+0900) Subject: Modify the error value for access denied X-Git-Tag: submit/tizen/20160524.114539^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00a023a2d64e204acabfde20f7244152c73b641a;p=platform%2Fcore%2Fapi%2Fvpn-service.git Modify the error value for access denied Change-Id: I27b7cc6271c2207b0fd5ccaea1f410d68a9628da Signed-off-by: hyunuktak --- diff --git a/framework/src/capi_vpn_service.c b/framework/src/capi_vpn_service.c index 88daf01..0e96d7e 100755 --- a/framework/src/capi_vpn_service.c +++ b/framework/src/capi_vpn_service.c @@ -327,7 +327,7 @@ EXPORT_API int vpnsvc_init(const char* iface_name, vpnsvc_h *handle) if (result != VPNSVC_ERROR_NONE) { LOGE("vpnsvc_init() failed"); //LCOV_EXCL_LINE _vpnsvc_deinit_vpnsvc_tun_s(tmp_s); //LCOV_EXCL_LINE - result = VPNSVC_ERROR_IPC_FAILED; //LCOV_EXCL_LINE + result = VPNSVC_ERROR_PERMISSION_DENIED; //LCOV_EXCL_LINE } else { LOGD("vpnsvc_init() succeed"); tmp_s->fd = iface_fd; /* client fd must be set */ diff --git a/packaging/capi-vpn-service.spec b/packaging/capi-vpn-service.spec index 17bbfc7..3faea52 100755 --- a/packaging/capi-vpn-service.spec +++ b/packaging/capi-vpn-service.spec @@ -1,6 +1,6 @@ Name: vpnsvc-pkg Summary: VPN service library in TIZEN C API -Version: 1.0.17 +Version: 1.0.18 Release: 1 Group: System/Network License: Apache-2.0