summaryrefslogtreecommitdiffstats
path: root/src/framework
diff options
context:
space:
mode:
authorwangyalei <wylandrea@gmail.com>2018-07-20 09:03:11 +0800
committerYalei Wang <william.wangyalei@huawei.com>2018-07-26 14:33:57 +0800
commitb7dae32a696999bd51c5e484d59e8094441c0212 (patch)
tree4c9b314cdb5d383d7f6cd22c9467eda1b674cef4 /src/framework
parent739fa21ba9d85582a2a996ad02d885acc4d4efe1 (diff)
Fix: proxy for sudo user and version of MLNX_OFED
Fix the sudo proxy issue, and update dependent version of MLNX_OFED for more centos release. Change-Id: Iebbea51ccdad5fe112157934e549393a86141d2a Signed-off-by: Yalei Wang <william.wangyalei@huawei.com>
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/include/nsfw_mgr_com_api.h2
-rw-r--r--src/framework/ipc/mgr_com/mgr_com.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/framework/include/nsfw_mgr_com_api.h b/src/framework/include/nsfw_mgr_com_api.h
index 094043e..dcb602c 100644
--- a/src/framework/include/nsfw_mgr_com_api.h
+++ b/src/framework/include/nsfw_mgr_com_api.h
@@ -107,7 +107,7 @@ typedef enum _fw_poc_type
NSFW_PROC_MAX = 16
} fw_poc_type;
-#define NSFW_DOMAIN_DIR "/var/run"
+#define NSFW_DOMAIN_DIR "/var/run/"
#define NSTACK_MAX_PROC_NAME_LEN 20
typedef enum _nsfw_mgr_msg_rsp_code
diff --git a/src/framework/ipc/mgr_com/mgr_com.c b/src/framework/ipc/mgr_com/mgr_com.c
index 2b35e2c..25d8bff 100644
--- a/src/framework/ipc/mgr_com/mgr_com.c
+++ b/src/framework/ipc/mgr_com/mgr_com.c
@@ -1859,6 +1859,8 @@ nsfw_mgr_com_module_init (void *param)
return -1;
}
+ //TODO: check the path exist or not
+
NSFW_LOGINF ("module mgr init]NSFW_PROC_MAIN domain_path=%s",
mgr_cfg->domain_path);